WC_Product::add_to_cart_aria_describedby
Get the aria-describedby description for the add to cart button.
Method of the class: WC_Product{}
Hooks from the method
Returns
String.
Usage
$WC_Product = new WC_Product(); $WC_Product->add_to_cart_aria_describedby();
WC_Product::add_to_cart_aria_describedby() WC Product::add to cart aria describedby code WC 10.6.2
public function add_to_cart_aria_describedby() {
/**
* Filter the aria-describedby description for the add to cart button.
*
* @since 7.8.0
*
* @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 );
}