woocommerce_product_add_to_cart_aria_describedby, $this->is_purchasable(

woocommerce_product_add_to_cart_aria_describedby, $this->is_purchasable(

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_product_add_to_cart_aria_describedby, $this->is_purchasable(') is found 1 times:

  • /includes/class-wc-product-variable.php line 71
    		 * This filter is documented in includes/abstracts/abstract-wc-product.php.
    		 *
    		 * @since 7.8.0
    		 */
    		return apply_filters( 'woocommerce_product_add_to_cart_aria_describedby', $this->is_purchasable() ? __( 'This product has multiple variants. The options may be chosen on the product page', 'woocommerce' ) : '', $this );
    	}
    
    	/**
    	 * Get the add to cart button text.
    	 *
    	 * @return string