mc_file_exists - joedolson/my-calendar GitHub Wiki
Filter test for whether a file exists. Return true to confirm file exists.
Auto-generated Example
add_filter(
'mc_file_exists',
function(
bool $path,
string $file
) {
// Your code here.
return $path;
},
10,
2
);
Parameters
bool$pathFile path.string$fileFile name.
Returns
bool
Files
apply_filters( 'mc_file_exists', false, $file )