Skip to content

Instantly share code, notes, and snippets.

@akther80
Created February 4, 2019 09:08
Show Gist options
  • Save akther80/690a1e6c53a0f16426254060942b88dc to your computer and use it in GitHub Desktop.
Save akther80/690a1e6c53a0f16426254060942b88dc to your computer and use it in GitHub Desktop.
Uneno - Edit text on Order Received page of Checkout
add_filter( 'uneno_order_confirmation_note_args', 'uneno_child_order_confirmation_note_custom_args');
if ( ! function_exists( 'uneno_child_order_confirmation_note_custom_args' ) ) {
function uneno_child_order_confirmation_note_custom_args($args) {
$args['title'] = esc_html__( 'Payment Successful', 'uneno' );
$args['sub-title'] = esc_html__( 'Thank you! Your payment was successful! We will deliver your order quickly.Now it’s time to discover our other collection.', 'uneno' );
return $args;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment