WC_Product::add_to_cart_aria_describedby
Get the aria-describedby description for the add to cart button.
Метод класса: WC_Product{}
Хуки из метода
Возвращает
Строку.
Использование
$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 WC 10.4.3
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 );
}