Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @marinow1991,

    Greetings from WebToffee!

    Kindly copy the below-mentioned code snippet to your active theme’s functions.php to alter/translate the mentioned string according to your need.

    add_filter('gettext', 'wt_pklist_translate_print_button');
    function wt_pklist_translate_print_button($translated) 
    {
    	$translated = str_ireplace('PRINT INVOICE', 'custom_text_for_button_label', $translated);
    	return $translated;
    }

    PS: You can alter custom_text_for_button_label to add the right translation.

    Thread Starter marinow1991

    (@marinow1991)

    It is work, thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change text button’ is closed to new replies.