woocommerce_get_availability_text

woocommerce_get_availability_text

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_get_availability_text') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 2183
    			$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