woocommerce_order_received_verify_known_shoppers
woocommerce_order_received_verify_known_shoppers
Appears in: woocommerce.8.4.0, woocommerce.8.5.1, woocommerce.8.5.2, woocommerce.8.6.0, woocommerce.8.6.1, woocommerce.8.7.0, woocommerce.8.8.3, woocommerce.8.9.2, woocommerce.8.9.3, woocommerce.9.0.2, woocommerce.9.1.2, woocommerce.9.1.4, woocommerce.9.2.2, woocommerce.9.2.3
Hook Type: filter
Displaying hooks found in version: woocommerce.9.2.3apply_filters('woocommerce_order_received_verify_known_shoppers') is found 2 times:
- /includes/shortcodes/class-wc-shortcode-checkout.php line 310
* @param bool $verify_known_shoppers If verification is required. * * @since 8.4.0 */ $verify_known_shoppers = apply_filters( 'woocommerce_order_received_verify_known_shoppers', true ); $order_customer_id = $order->get_customer_id(); // For non-guest orders, require the user to be logged in before showing this page. if ( $verify_known_shoppers && $order_customer_id && get_current_user_id() !== $order_customer_id ) { wc_get_template( 'checkout/order-received.php', array( 'order' => false ) ); wc_print_notice( esc_html__( 'Please log in to your account to view this order.', 'woocommerce' ), 'notice' );
- /src/Blocks/BlockTypes/OrderConfirmation/AbstractOrderConfirmationBlock.php line 124
* @param bool $verify_known_shoppers If verification is required. * * @since 8.4.0 */ $verify_known_shoppers = apply_filters( 'woocommerce_order_received_verify_known_shoppers', true ); // If verification for known shoppers is disabled, we can show the order details. if ( ! $verify_known_shoppers ) { return 'full'; }