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