How to remove/replace the inscription on the search button in the Wordpress template?

How to remove/replace the label in the value field on the "search" button that displays a standard search widget? Thank you!
July 4th 19 at 23:44
1 answer
July 4th 19 at 23:46
The solution he found. To add to the file functions.php the following hook:
my_search_form function( $form ) {

 $form = '
 <form role="search" method="get" id="searchform" action="' . home_url( '/' ) . '">
 <label class="screen-reader-text" for="s">search:</label>
 <input type="text" value="' . get_search_query() . '" name="s" id="s">
 <input type="submit" id="searchsubmit" value="Find">

 return $form;

add_filter( 'get_search_form', 'my_search_form' );

And change labels to taste.

Find more questions by tags CSSPHPWordPress