-
Notifications
You must be signed in to change notification settings - Fork 16
mc_past_search_results
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Number of past results to show. Default 0.
add_filter(
'mc_past_search_results',
function(
int $before,
string string = null
) {
// Your code here.
return $before;
}
);-
int$beforeNumber of past results to display. -
stringstring$context 'advanced' for advanced search results. Other variable names:string $context 'basic' for basic search results.,$basic,$advanced
int
apply_filters( 'mc_past_search_results', 0 )apply_filters( 'mc_past_search_results', 0, 'basic' )apply_filters( 'mc_past_search_results', 0, 'advanced' )Replace the list footer for upcoming events lists. Default value </ul></div>.
add_filter(
'mc_upcoming_events_footer',
function( string $header ) {
// Your code here.
return $header;
}
);-
string$headerExisting upcoming events footer HTML.
string List header HTML.
apply_filters( 'mc_upcoming_events_footer', $footer )