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.

Метод класса: AddToWishlistButton{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// private - только в коде основоного (родительского) класса
$result = $this->get_select_options_label(): string;

Код AddToWishlistButton::get_select_options_label() WC 10.9.1

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