You appear to be a bot. Output may be restricted
Description
Add attributes for search form.
Usage
$array = genesis_attributes_search_form( $attributes );
Parameters
- $attributes
- ( array ) required – Existing attributes for search form element.
Returns
array Amended attributes for search form element.
Source
File name: genesis/lib/functions/markup.php
Lines:
1 to 9 of 9
function genesis_attributes_search_form( $attributes ) { $attributes['method'] = 'get'; $attributes['action'] = home_url( '/' ); $attributes['role'] = 'search'; return $attributes; }