woocommerce_has_block_template

woocommerce_has_block_template

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_has_block_template') is found 1 times:

  • /includes/class-wc-template-loader.php line 171
    		 *
    		 * @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.
    	 *
    

See this hook used in plugins: