Change error message text
-
Is there a way to change the error message text without editing this plugin? I’ve tried using using replace_text and change_translate_text in the theme functions.php file, but it’s not working. The text reads:
“Merchant do not support accepting in unknown card” which is generated by this code:
if(!in_array($cardtype ,$this->authorizenet_lightweight_cardtypes )) { wc_add_notice('Merchant do not support accepting in '.$cardtype, $notice_type = 'error' ); return array ( 'result' => 'success', 'redirect' => WC()->cart->get_checkout_url(), ); die; }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Change error message text’ is closed to new replies.