woocommerce_block_template_register
woocommerce_block_template_register
Appears in: woocommerce.8.2.1, woocommerce.8.2.2, woocommerce.8.3.1, woocommerce.8.4.0, woocommerce.8.5.1, woocommerce.8.5.2
Hook Type: action
Displaying hooks found in version: woocommerce.8.5.2do_action('woocommerce_block_template_register') is found 1 times:
- /src/Internal/Admin/BlockTemplateRegistry/BlockTemplateRegistry.php line 58
* @param BlockTemplateInterface $template Template that was registered. * * @since 8.2.0 */ do_action( 'woocommerce_block_template_register', $template ); $this->templates[ $id ] = $template; } /** * Get the registered templates.