woocommerce_product_add_to_cart_aria_describedby
woocommerce_product_add_to_cart_aria_describedby
Appears in: woocommerce.7.8.1, woocommerce.7.9.0, woocommerce.8.0.3, woocommerce.8.1.1, woocommerce.8.2.1, woocommerce.8.2.2, woocommerce.8.3.1, woocommerce.8.4.0, woocommerce.8.5.1, woocommerce.8.5.2, woocommerce.8.6.0, woocommerce.8.6.1, woocommerce.8.7.0, woocommerce.8.8.3, woocommerce.8.9.2, woocommerce.8.9.3, woocommerce.9.0.2, woocommerce.9.1.2, woocommerce.9.1.4, woocommerce.9.2.2, woocommerce.9.2.3
Hook Type: filter
Displaying hooks found in version: woocommerce.9.2.3apply_filters('woocommerce_product_add_to_cart_aria_describedby') is found 2 times:
- /includes/abstracts/abstract-wc-product.php line 1988
* * @param string $var Text for the 'aria-describedby' attribute. * @param WC_Product $this Product object. */ return apply_filters( 'woocommerce_product_add_to_cart_aria_describedby', '', $this ); } /** * Get the add to cart button text. * * @return string
- /includes/class-wc-product-variable.php line 67
* 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