Automattic\WooCommerce\Blocks\BlockTypes
AddToWishlistButton::get_add_label
Visible label when the product is not in the wishlist.
Метод класса: AddToWishlistButton{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_add_label(): string;
Код AddToWishlistButton::get_add_label() AddToWishlistButton::get add label WC 10.9.1
private function get_add_label(): string {
return __( 'Add to wishlist', 'woocommerce' );
}