You appear to be a bot. Output may be restricted
Description
Add a screen-reader-text
class to the search form's submit button.
Usage
$string = twentyfifteen_search_form_modify( $html );
Parameters
- $html
- ( string ) required – Search form HTML.
Returns
string Modified search form HTML.
Source
File name: twentyfifteen/functions.php
Lines:
1 to 3 of 3
function twentyfifteen_search_form_modify( $html ) { return str_replace( 'class="search-submit"', 'class="search-submit screen-reader-text"', $html ); }