Automattic\WooCommerce\Blocks\BlockTypes
AddToWishlistButton::get_add_label
Visible label when the product is not in the wishlist.
Method of the class: AddToWishlistButton{}
No Hooks.
Returns
null. Nothing (null).
Usage
// private - for code of main (parent) class only $result = $this->get_add_label(): string;
AddToWishlistButton::get_add_label() AddToWishlistButton::get add label code WC 10.9.1
private function get_add_label(): string {
return __( 'Add to wishlist', 'woocommerce' );
}