Using Hooks
A hook is an easier way for developer to add custom functionality into WordPress themes and plugins.
Addonify Compare Products has multiple hooks that theme author can use to modify plugin content on the fly.
- addonify_cp_footer_btn_label
- addonify_cp_remove_item_btn
- addonify_cp_footer_item_thumbnail
These hooks can be used to modify the content generated by our plugin.
Example
add_filter( 'addonify_cp_footer_btn_label', 'your_function_name' ); function your_function_name() { // Your code }