Check Balance page – How to change the image

This requires the PW WooCommerce Gift Cards Pro version.

There is a hook available to change the logo for the Check Balance page to any image you would like.

1. Download the free Code Snippets plugin: https://wordpress.org/plugins/code-snippets/
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_check_balance_image( $icon ) {
    return '<img src="https://yoursite.com/path/to/image.png" height="200" width="200" style="margin: auto;" />';
}
add_filter( 'pwgc_check_balance_image', 'custom_pwgc_check_balance_image' );

If you need more control you can override the template for the Check Balance page. Follow the instructions found here:
https://www.pimwick.com/pw-faq/template-check-balance-page/

Skip to content