mc_location_output - joedolson/my-calendar GitHub Wiki

Filter the HTML output for single location details.

Auto-generated Example

add_filter(
   'mc_location_output',
    function(
        string $content,
        object $location
    ) {
        // Your code here.
        return $content;
    },
    10,
    2
);

Parameters

  • string $content Full HTML output.
  • object $location Calendar location object.

Returns

string

Files

apply_filters( 'mc_location_output', $content, $location )

← All Hooks