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
  • Access Setting Page

Developer [4]

  • Using Hooks
  • Overwriting Quick View Templates
  • Custom Quick View Button
  • Changelogs

Support [1]

  • Support & Discussion
  • Home
  • Kb
  • WooCommerce Quick View
  • Developer
  • Using Hooks

Using Hooks

  • Updated on: September 18, 2022

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

Addonify Quick View has 3 action hook that theme author can use.

  • addonify_quick_view_product_image
  • addonify_quick_view_product_summary
  • addonify_quick_view_after_product_summary_content

All of these hooks are located in addonify-quick-view\public\templates\addonify-quick-view-content.php

Use can use these action hooks to modify content generated by plugin in the quick view modal.

Example

add_action( 'addonify_quick_view_product_image', 'your_function_name' );
function your_function_name() {
     // Your code
}

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?

4 1

Copyright © 2022 addonify.com. All rights reserved.

Project by 💖 CreamCode.Org