No results found. Try again with different words?

Search must be at least 3 characters.

    How to Use Global Checkout Filter?

    From the Update v1.3.3, we have provided a filter using which you will be able to redirect your users from the Global Checkout page to another Custom Page.

    Below is the filter using which you can redirect your users to a Custom Page –

    /**
     * Change the URL of the Global Checkout page.
     * @param link $link of your global checkout page.
     * @return link $your_link of your custom page.
     */
    
    add_filter( 'cartflows_global_checkout_url', 'your_callback_function' );
    function your_callback_function( $link ){ 
        // Return your custom page URL. 
        return  $your_link = get_permalink( $post->ID ); // Add your custom page's post ID
    }

    Was this article helpful?
    Did not find a solution? We are here to help you succeed.

    Related Docs

    Try CartFlows Risk-Free for 30 Days

    You are protected by our no questions asked refund policy.

    Download is Just A Click Away!

    Enter your email address and be the first to learn about updates and new features.