generate_search_button

The generate_search_button filter allows you to change the default Search text in your search button.

Default (string): Search

Adding a Font Icon

If you’re using the GP font icons, you can add this PHP:

Then add this CSS:

.widget_search .search-submit {
    display: block;
    font-family: GeneratePress;
}

.search-form {
    display: flex;
}

Usage

Please refer to the Using Filters article to learn how to use this filter.