woocommerce_block_template_after_remove_hide_condition
Action called after a hide condition is removed from a block.
Использование
add_action( 'woocommerce_block_template_after_remove_hide_condition', 'wp_kama_woocommerce_block_template_after_remove_hide_condition_action' );
/**
* Function for `woocommerce_block_template_after_remove_hide_condition` action-hook.
*
* @param BlockInterface $block The block.
*
* @return void
*/
function wp_kama_woocommerce_block_template_after_remove_hide_condition_action( $block ){
// action...
}
- $block(BlockInterface)
- The block.
Список изменений
| С версии 8.4.0 | Введена. |
Где вызывается хук
woocommerce_block_template_after_remove_hide_condition
woocommerce/src/Internal/Admin/BlockTemplates/AbstractBlock.php 292
do_action( 'woocommerce_block_template_after_remove_hide_condition', $this );