If you use Custom Thank You Pages and want to hide the order details from your thank you page, then add this code the functions.php file of your theme:
1 2 3 4 | if( class_exists('GB_WC_TYP') && GB_WC_TYP::gb_wc_typ_woocommerce_active_check() ) { remove_filter( 'the_content', array( $gb_wc_typ_plugin_base, 'gb_wc_typ_custom_thankyou_page_content' ) ); } |