Skip to content

mc_get_uri

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

Link to the My Calendar main calendar view.

Auto-generated Example

add_filter(
   'mc_get_uri',
    function(
        string $link,
        object|string|bool $event,
        array $args
    ) {
        // Your code here.
        return $link;
    },
    10,
    3
);

Parameters

  • string $link String to return if event link is expired.
  • object|string|bool $event Event object, string requesting boolean result, or boolean false.
  • array $args Current view arguments. (Optional).

Returns

string URL.

Files

apply_filters( 'mc_get_uri', $uri, $event, $args )

← All Hooks

Clone this wiki locally