Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Hi,

    What you want to call this?

    Thank You

    Hi,

    For example “Discover” or “Découvrir” in french but my question was:

    Can we customize it by a hook or something else and how?

    Thank you

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    Please use this code for the purpose –

    function wcfm_custom_translate_text( $translated ) {
    	$translated = str_ireplace( 'Visit <span>Store</span>', 'Découvrir', $translated );
    	return $translated;
    }
    add_filter('gettext', 'wcfm_custom_translate_text');
    add_filter('ngettext', 'wcfm_custom_translate_text');

    Thank You

    Thanks a lot for this, I will test. Do I have to do this in a child theme or plugin?

    Plugin Author WC Lovers

    (@wclovers)

    HI,

    Please add this at child theme’s functions.php

    Thank You

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Button label’ is closed to new replies.