woocommerce_before_variations_table
Action hook to add content before the variations table.
Usage
add_action( 'woocommerce_before_variations_table', 'wp_kama_woocommerce_before_variations_table_action' ); /** * Function for `woocommerce_before_variations_table` action-hook. * * @return void */ function wp_kama_woocommerce_before_variations_table_action(){ // action... }
Changelog
Since 9.7.0 | Introduced. |
Where the hook is called
woocommerce_before_variations_table
woocommerce/src/Blocks/BlockTypes/AddToCartWithOptionsVariationSelector.php 227
do_action( 'woocommerce_before_variations_table' );