Apply Filter Button Text in a Widget
-
Hi,
I’m using the following function to change the text of the “Apply Filter” button:
function modify_filter_button($string){ return 'Search'; } add_filter('beautiful_filters_apply_button', 'modify_filter_button', 10, 1);
It works perfectly on my archive pages. However, I have also added the filters to a Widget, but the button text still says “Apply Filter”.
Can you suggest what I should do change it please?
Many thanks
Darrenhttps://www.ads-software.com/plugins/beautiful-taxonomy-filters/
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Apply Filter Button Text in a Widget’ is closed to new replies.