get_search_form

get_search_form

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('get_search_form') is found 1 times:

  • /wp-includes/general-template.php line 359
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    * @param string $form The search form HTML output.
     * @param array  $args The array of arguments for building the search form.
     *                     See get_search_form() for information on accepted arguments.
     */
    $result = apply_filters( 'get_search_form', $form, $args );
     
    if ( null === $result ) {
        $result = $form;
    }
     
    if ( $args['echo'] ) {