woocommerce_get_availability_text

woocommerce_get_availability_text

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_get_availability_text') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 2185
    			$availability = wc_format_stock_for_display( $this );
    		} else {
    			$availability = '';
    		}
    		return apply_filters( 'woocommerce_get_availability_text', $availability, $this );
    	}
    
    	/**
    	 * Get availability classname based on stock status.
    	 *
    	 * @return string