Skip to content

mc_future_search_results

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

Number of future results to show. Default 20.

Auto-generated Example

add_filter(
   'mc_future_search_results',
    function(
        int $after,
        string string = null
    ) {
        // Your code here.
        return $after;
    }
);

Parameters

  • int $after Number of future results to display.
  • string string $context 'advanced' for advanced search results. Other variable names: string $context 'basic' for basic search results., $basic, $advanced

Returns

int

Files

apply_filters( 'mc_future_search_results', 15 )
apply_filters( 'mc_future_search_results', 20, 'basic' )
apply_filters( 'mc_future_search_results', 20, 'advanced' )

← All Hooks

Clone this wiki locally