• Hello,

    I first try this snippet :

    add_filter( ‘yith_wcapf_reset_filters_label’, ‘change_yith_reset_button_text’ );
    function change_yith_reset_button_text() {
    return ‘Effacer les filtres’; // Change this text to whatever you want
    }

    not working

    I tried this one:

    add_filter( ‘gettext’, ‘custom_yith_reset_button_text’, 20, 3 );
    function custom_yith_reset_button_text( $translated_text, $text, $domain ) {
    // Only target text within the YITH Ajax Product Filter plugin domain
    if ( ‘yith-woocommerce-ajax-navigation’ === $domain ) {
    if ( ‘Reset filters’ === $text || ‘Reset’ === $text ) {
    return ‘Effacer les filtres’; // Your custom text here
    }
    }
    return $translated_text;
    }

    Not working either. Do you have a solution please?

    ¸Thanks

    GJ

You must be logged in to reply to this topic.