Skip to content
Addonify

Addonify

Documentation & knowledge based site

  • Docs
    • Quick View
    • Compare Products
    • Floating Cart
    • EDD 2Checkout Inline Gateway
  • Plugins
  • Themes
  • Support
  • Blog
Addonify store
  • Docs
    • Quick View
    • Compare Products
    • Floating Cart
    • EDD 2Checkout Inline Gateway
  • Plugins
  • Themes
  • Support
  • Blog

Getting Started [2]

  • Installation
  • Setting Page

Features [4]

  • General
  • Shopping Meter
  • Cart Action Notification
  • Coupon Application

Developer [2]

  • Using Hooks
  • Overwriting Templates

Support [2]

  • Support & Discussion
  • Downloading POT file
  • Home
  • Kb
  • Floating Cart
  • Developer
  • Using Hooks

Using Hooks

  • Updated on: September 11, 2022

A hook is an easier way for developer to add custom functionality into WordPress themes and plugins.

Addonify Floating Cart has multiple hooks that theme author can use to modify plugin content on the fly.

Action hooks used for overriding floating cart parts:

'addonify_floating_cart_sidebar_cart_header' 
'addonify_floating_cart_sidebar_cart_shipping_bar'
'addonify_floating_cart_sidebar_cart_notice'
'addonify_floating_cart_sidebar_cart_body'
'addonify_floating_cart_sidebar_cart_footer'
'addonify_floating_cart_sidebar_cart_coupon'
'addonify_floating_cart_sidebar_cart_applied_coupons'
'addonify_floating_cart_cart_footer_button'

Action hooks used for overriding product parts:

'addonify_floating_cart_product_image'
'addonify_floating_cart_product_quantity_field'
'addonify_floating_cart_product_quantity_price'
'addonify_floating_cart_product_title'

Other filters and hooks are:

'addonify_floating_cart_click_to_apply_button_label'
'addonify_floating_cart_have_a_coupon_label'
'addonify_floating_cart_sub_total_label'
'addonify_floating_cart_discount_label'
'addonify_floating_cart_total_label'
'addonify_floating_cart_go_back_from_coupon_label'
'addonify_floating_cart_coupon_code_field_label'
'addonify_floating_cart_applied_coupon_label'

These hooks can be used to modify the content generated by the Addonify Floating Cart plugin.

Didn't find what you looking for? Try sending your questions from our contact page.

Your feedback matters to us. Was this article helpful to you?

Copyright © 2022 addonify.com. All rights reserved.

Project by 💖 CreamCode.Org