mc_get_file - joedolson/my-calendar GitHub Wiki

Filter file paths for My Calendar files.

Auto-generated Example

add_filter(
   'mc_get_file',
    function(
        string $path,
        string $file
    ) {
        // Your code here.
        return $path;
    },
    10,
    2
);

Parameters

  • string $path File path.
  • string $file File name.

Returns

string

Files

apply_filters( 'mc_get_file', $path, $file )

← All Hooks