woocommerce_cart_item_backorder_notification

woocommerce_cart_item_backorder_notification

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_cart_item_backorder_notification') is found 1 times:

  • /templates/cart/cart.php line 107

    echo wc_get_formatted_cart_item_data( $cart_item ); // PHPCS: XSS ok.

    // Backorder notification.
    if ( $_product->backorders_require_notification() && $_product->is_on_backorder( $cart_item[‘quantity’] ) ) {
    echo wp_kses_post( apply_filters( ‘woocommerce_cart_item_backorder_notification’, ‘

    ‘ . esc_html__( ‘Available on backorder’, ‘woocommerce’ ) . ‘

    ‘, $product_id ) );
    }
    ?>

    Share this: