Шаблон, который используется в плагине.
Параметры
- template – ссылка на шаблон, который будет загружен.
- name – название шаблона.
Использование
<?php
function change_mm_quantity_get_template_part ( $template, $name ) {
//your code here
return $template;
}
add_filter( 'mm_quantity_get_template_part', 'change_mm_quantity_get_template_part', 10, 2 );
?>