Show out of stock label in catalogue when product is on backorder in Woocommerce

Show out of stock label in catalogue when product is on backorder in Woocommerce.

Snippet Type

Execute on Child Sites

Snippet

https://github.com/mainwp/Code-Snippets-Functions/blob/master/Execute%20a%20function%20on%20a%20child%20site/WooCommerce/show-out-of-stock-label-in-catalogue-when-product-is-on-backorder.txt