Change the “Select Amount” button text

To change the “Select Amount” button text to something else, follow these steps:

1. Download the free Code Snippets plugin https://wordpress.org/plugins/code-snippets/
2. Create a new Snippet with the following code:

function custom_pwgc_select_amount_text( $text, $product ) {
    return 'Select amount';
}
add_filter( 'pwgc_select_amount_text', 'custom_pwgc_select_amount_text', 10, 2 );

Note: you can add the code to your functions.php instead of using Code Snippets if you are more comfortable with that.

Skip to content