WC_Product_Grouped::add_to_cart_description
Get the add to cart button text description - used in aria tags.
Метод класса: WC_Product_Grouped{}
Хуки из метода
Возвращает
Строку.
Использование
$WC_Product_Grouped = new WC_Product_Grouped(); $WC_Product_Grouped->add_to_cart_description();
Список изменений
| С версии 3.3.0 | Введена. |
Код WC_Product_Grouped::add_to_cart_description() WC Product Grouped::add to cart description WC 10.9.4
public function add_to_cart_description() {
/* translators: %s: Product title */
return apply_filters( 'woocommerce_product_add_to_cart_description', sprintf( __( 'View products in the “%s” group', 'woocommerce' ), $this->get_name() ), $this );
}