Template that is used in plugin.
Parameters
- template – link to the template that will be loaded.
- name – template name.
Usage
<?php
function change_product_brand_get_template_part ( $template, $name ) {
//your code here
return $template;
}
add_filter( 'product_brand_get_template_part', 'change_product_brand_get_template_part', 10, 2 );
?>