-
Notifications
You must be signed in to change notification settings - Fork 16
mc_future_search_results
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Number of future results to show. Default 20.
add_filter(
'mc_future_search_results',
function(
int $after,
string string = null
) {
// Your code here.
return $after;
}
);-
int$afterNumber of future 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_future_search_results', 15 )apply_filters( 'mc_future_search_results', 20, 'basic' )apply_filters( 'mc_future_search_results', 20, '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 )