Can't make Say What work–Requesting Guidance
-
Hi,
I’m having trouble making Say What work. I’m trying to delete the following phrase:
Sorry, trouble receiving payment receipt.
I want to replace it with this phrase:
Please note
Here’s the section of code where the phrase appears:
/**
* Receipt Shortcode
*
* Shows an order receipt.
*
* @since 1.4
* @param array $atts Shortcode attributes
* @param string $content
* @return string
*/
function edd_receipt_shortcode( $atts, $content = null ) {
global $edd_receipt_args;$edd_receipt_args = shortcode_atts( array(
‘error’ => __( ‘Sorry, trouble receiving payment receipt.’, ‘edd’ ),
‘price’ => true,
‘discount’ => true,
‘products’ => true,
‘date’ => true,
‘notes’ => true,
‘payment_key’ => false,
‘payment_method’ => true,
‘payment_id’ => true
), $atts, ‘edd_receipt’ );$session = edd_get_purchase_session();
if ( isset( $_GET[‘payment_key’] ) ) {
$payment_key = urldecode( $_GET[‘payment_key’] );
} elseif ( $edd_receipt_args[‘payment_key’] ) {
$payment_key = $edd_receipt_args[‘payment_key’];
} else if ( $session ) {Under Tools>Text Changes>Original String, I entered: Sorry, trouble receiving payment receipt.
Under Tools>Text Changes>Text Domain, I entered: edd
Under Tools>Text Changes>Text Context, I didn’t enter anything.
Under Tools>Text Changes>Replacement string, I entered: Please noteBut for whatever reason, the original wording is still present. Any thoughts on what I might have done wrong? This code is found in the Easy Digital Downloads plugin that I’m using in combination with the Easy Digital Downloads Stripe Add-On. Could the text domain be something other than edd?
Thanks!
- The topic ‘Can't make Say What work–Requesting Guidance’ is closed to new replies.