Unable to change the text. What am I doing wrong?
-
Hi. I am trying to change the text as below:
Original string: Sorry, your session has expired. Return to shop
Text domain: woocommerce
Text context:
Replacement string: There were courses in your cart that were previously taken.Here is the line of code I am working from:
if ( WC()->cart->is_empty() ) { throw new Exception( sprintf( __( 'Sorry, your session has expired. <a href="%s" class="wc-backward">Return to shop</a>', 'woocommerce' ), esc_url( wc_get_page_permalink( 'shop' ) ) ) ); }
What am I doing wrong?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Unable to change the text. What am I doing wrong?’ is closed to new replies.