eventorganiser_template_stack
(filter)
Filters the template stack: an array of directories the plug-in looks for for templates.
The directories are checked in the order in which they appear in this array.
By default the array includes (in order)
- child theme directory
- parent theme directory
event-organiser/templates
Parameters
array
|
$stack |
Array of directories (absolute path).
|
Example Usage
add_filter( 'eventorganiser_template_stack', 'my_callback_function', 10, 1 );
function my_callback_function( $stack ){
//Change first value and return it
return $stack
};