• Resolved thnk4

    (@thnk4)


    Good evening,

    I wanted to change the “Apply Filter” button. More specifically I wanted remove the word “Filter” and leave only the word “Apply”.

    Is that possible ?
    I looked into the plugin files but did not find anything related to this.

    Thanks in advance for help,
    T4

Viewing 1 replies (of 1 total)
  • Plugin Contributor titodevera

    (@titodevera)

    Hi thnk4.

    You can use the gettext filter

    
    add_filter( 'gettext', function( $translated_text, $text, $domain ){
      if( $domain == 'perfect-woocommerce-brands' && $translated_text == 'Apply filter' )
        $translated_text = 'Apply';
    
      return $translated_text;
    }, 20, 3 );
    
Viewing 1 replies (of 1 total)
  • The topic ‘Apply Filter Button’ is closed to new replies.