We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regarding "Send order" button in checkout.
Line 22 in WC_Gateway_Blockonomics.php:
$this->order_button_text = __('Pay with bitcoin', 'blockonomics-bitcoin-payments');
This is unnecessary code.
It assumes two things.
The website owner cannot overwrite this variable in other ways, meaning the change is forced upon the website developer.
I suggest either removing the line completely, or adding it to a customizable setting variable.
The text was updated successfully, but these errors were encountered:
@eirikhr The variable's value is translatable and can be changed by the Website Owner from WordPress Admin to any desired value and in any language with the help of any Translation Plugin, here are some more details: https://www.wpbeginner.com/wp-tutorials/how-to-translate-a-wordpress-plugin-in-your-language/
More details about __ in Wordpress: https://developer.wordpress.org/reference/functions/__/
__
Sorry, something went wrong.
No branches or pull requests
Regarding "Send order" button in checkout.
Line 22 in WC_Gateway_Blockonomics.php:
$this->order_button_text = __('Pay with bitcoin', 'blockonomics-bitcoin-payments');
This is unnecessary code.
It assumes two things.
The website owner cannot overwrite this variable in other ways, meaning the change is forced upon the website developer.
I suggest either removing the line completely, or adding it to a customizable setting variable.
The text was updated successfully, but these errors were encountered: