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