Automattic\WooCommerce\Blocks\BlockTypes

AddToWishlistButton::get_select_options_labelprivateWC 1.0

Visible label when the shopper still needs to pick variation attributes before the wishlist toggle can resolve to a specific variation.

Method of the class: AddToWishlistButton{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->get_select_options_label(): string;

AddToWishlistButton::get_select_options_label() code WC 10.9.1

private function get_select_options_label(): string {
	return __( 'Select options first', 'woocommerce' );
}