Change the Check Balance page URL

By default, the Check Balance page is located by finding the Page with the [pw_gift_cards_balance] shortcode. If you have more than one Page using this shortcode, you can specify the Check Balance page by taking the following steps:

1. Download the free Code Snippets plugin:
2. Create a Snippet with the following code:

(You can optionally add this to your functions.php if you’re more familiar with that process instead.)

function custom_pwgc_balance_page( $page ) {
    // Change this ID to match the Page ID for the Check Balance page you would like to use.
    $new_page = get_post( 123 );

    if ( is_a( $new_page, 'WP_Post' ) ) {
        return $new_page;

    return $page;
add_filter( 'pwgc_balance_page', 'custom_pwgc_balance_page' );
Skip to content