Skip to content

Instantly share code, notes, and snippets.

Created March 23, 2021 19:58
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
if( function_exists('oxygen_vsb_register_condition') ) {
oxygen_vsb_register_condition('Is Thank You Page', array('options'=>array('true'), 'custom'=>false), array('=='), 'is_thank_you_callback', 'WooCo');
function is_thank_you_callback($value, $operator) {
if ( is_checkout() && !empty( is_wc_endpoint_url('order-received') ) ) {
return true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment