mc_search_page - joedolson/my-calendar GitHub Wiki

Filter the target action URL for search query form. Should target a page with a [my_calendar} shortcode.

Auto-generated Example

add_filter(
   'mc_search_page',
    function( string $url ) {
        // Your code here.
        return $url;
    }
);

Parameters

  • string $url Target URL.

Returns

string

Files

apply_filters( 'mc_search_page', $url )

← All Hooks