How to Make Automatic.css Grid Classes...
Learn how to make Automatic.css grid classes compatible with Bricks Builder. If you...

WPCodeBox
756
Discover how to create a WooCommerce thank you page condition in Oxygen Builder. This condition helps display specific elements only after a successful WooCommerce checkout, ensuring a tailored user experience.
<?php
add_action('plugins_loaded', function () {
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;
}
}
}
});





