I\'m trying to replace backorder string and the solution below works like a charm:
add_filter( \'woocommerce_get_availability_text\', \'filter_product_availabilit