Checkout fr Woocommerce – load default WooCommerce checkout template on the fly

Problem solved, found an undocumented hook – cfw_load_checkout_template

Example usage:

add_action('cfw_load_checkout_template', 'sd_handle_cfw_should_load');

    function sd_handle_cfw_should_load($value)
    {
        if(isset($_GET['sdc_modal'])) {
            return false;
        }

        return $value;
    }