Skip to content

mc_search_after

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

HTML template after the search results. Default </ol>.

Auto-generated Example

add_filter(
   'mc_search_after',
    function(
        string $footer,
        string|array $term
    ) {
        // Your code here.
        return $footer;
    },
    10,
    2
);

Parameters

  • string $footer HTML output.
  • string|array $term The search query arguments. Can be a string or an array of search parameters.

Returns

string

Files

apply_filters( 'mc_search_after', '</ol>', $term )

← All Hooks

Clone this wiki locally