// Add new stock status options function filter_woocommerce_product_stock_status_options( $status ) { // Add new statusesread more...
add_action( 'woocommerce_after_shop_loop_item', 'ets_show_stock_shop', 10 ); function ets_show_stock_shop() { global $product; echo wc_get_stock_html( $product ); }read more...