mc_custom_dirs - joedolson/my-calendar GitHub Wiki
Filter My Calendar's array of directories to check for custom files. Use to define where your custom templates and styles will be found.
Auto-generated Example
add_filter(
'mc_custom_dirs',
function(
array $dirs,
string $type
) {
// Your code here.
return $dirs;
},
10,
2
);
Parameters
array$dirsArray of directory paths to check.string$typeChecking paths or URLs.
Returns
array
Files
apply_filters( 'mc_custom_dirs', $dirs, $type )