woocommerce_has_block_template, $has_template, $template_name
woocommerce_has_block_template, $has_template, $template_name
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_has_block_template, $has_template, $template_name') is found 1 times:
- /includes/class-wc-template-loader.php line 147
* * @param boolean $has_template value to be filtered. * @param string $template_name The name of the template. */ return (bool) apply_filters( 'woocommerce_has_block_template', $has_template, $template_name ); } /** * Get the default filename for a template except if a block template with * the same name exists. *