woocommerce_is_checkout

woocommerce_is_checkout

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_is_checkout') is found 1 times:

  • /includes/wc-conditional-functions.php line 121
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
             *
             * @since 2.4.0
             * @param bool $is_checkout Whether the checkout page is being viewed.
             */
            return apply_filters( 'woocommerce_is_checkout', false ) || Constants::is_defined( 'WOOCOMMERCE_CHECKOUT' ) || CartCheckoutUtils::is_checkout_page();
        }
    }
     
    if ( ! function_exists( 'is_checkout_pay_page' ) ) {
     
        /**