Change the back-ordered text on the order received page in WooCommerce

Change the back-ordered text on the order received page in WooCommerce on child sites.

Snippet Type

Execute on Child Sites

Snippet

function filter_woocommerce_backordered_item_meta_name( $string, $item ) {  
    // Replace with new text
    $string = 'My new text';
    
    return $string;
}
add_filter( 'woocommerce_backordered_item_meta_name', 'filter_woocommerce_backordered_item_meta_name', 10, 2 );
1 Like