woocommerce_block_template_after_add_hide_condition action-hookWC 8.4.0

Action called after a hide condition is added to a block.

Usage

add_action( 'woocommerce_block_template_after_add_hide_condition', 'wp_kama_woocommerce_block_template_after_add_hide_condition_action' );

/**
 * Function for `woocommerce_block_template_after_add_hide_condition` action-hook.
 * 
 * @param BlockInterface $block The block.
 *
 * @return void
 */
function wp_kama_woocommerce_block_template_after_add_hide_condition_action( $block ){

	// action...
}
$block(BlockInterface)
The block.

Changelog

Since 8.4.0 Introduced.

Where the hook is called

AbstractBlock::add_hide_condition()
woocommerce_block_template_after_add_hide_condition
woocommerce/src/Internal/Admin/BlockTemplates/AbstractBlock.php 272
do_action( 'woocommerce_block_template_after_add_hide_condition', $this );

Where the hook is used in WooCommerce

Usage not found.