`php `php
code> pre>
include_once( ‘includes/acf-accordion/acf-accordion.php’ );
include_once(‘includes / acf-accordion / acf-accordion.php’); p>
add_filter( ‘acf/accordion/dir’, ‘acf_accordion_dir’ );
add_filter('acf / accordion / dir','acf_accordion_dir');
function acf_accordion_dir( $dir ) {
函数acf_accordion_dir($ dir){
$dir = get_template_directory_uri() .
$ dir = get_template_directory_uri()。
‘/includes/acf-accordion/’;
‘/ includes / acf-accordion /”;
return $dir;
返回$ dir;
}
}
`
` p>