Back to list of all filter and action hooks for Compatibility with theme Woodmart.
Description #
This filter controls the hook priority for the Woodmart theme free gifts section on the cart page.
Parameters #
$hook_priority(array) Array containing the hook name, callback callable and priority stored at indexes 0, 1 and 2 respectively.
Example #
/**
* Change Woodmart free gifts section priority.
*/
function change_woodmart_free_gifts_priority( $hook_priority ) {
// Force "Before Cart Table" in plugin settings
$hook_priority[2] = 6;
return $hook_priority;
}
add_filter( 'fc_pro_cart_section_hook_priority_woodmart_free_gifts', 'change_woodmart_free_gifts_priority', 100, 1 );
