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