search_form_args

search_form_args

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('search_form_args') is found 1 times:

  • /wp-includes/general-template.php line 286
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    *
     * @param array $args The array of arguments for building the search form.
     *                    See get_search_form() for information on accepted arguments.
     */
    $args = apply_filters( 'search_form_args', $args );
     
    // Ensure that the filtered arguments contain all required default values.
    $args = array_merge( $defaults, $args );
     
    $format = current_theme_supports( 'html5', 'search-form' ) ? 'html5' : 'xhtml';