Button text not changing
-
“Tekst p? ordreknap” doesn’t work – it simply dosen’t change the button text. Searching through your plugin, I can’t find any use of the callback filter: “woocommerce_order_button_text” – which defines button text.
https://ibb.co/b19fAwThe problem is that you define order_button_text as a concrete gateway implementation, which inherits from WC_Payment_Gateway, but looking deeper into the payment.php template, the button is being implemented outside the WC_Gateway scope. Not quite sure how this is suppose to work…
I just change the text myself; using this filter, but I think you should use the filters WooCommerce design for developers disposal.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Button text not changing’ is closed to new replies.