Automattic\WooCommerce\Internal\ShopperLists

ShopperListsController::get_supported_slugspublicWC 10.9.0

Slugs of every supported list type, regardless of feature-flag state.

Method of the class: ShopperListsController{}

No Hooks.

Returns

String[].

Usage

$ShopperListsController = new ShopperListsController();
$ShopperListsController->get_supported_slugs(): array;

Changelog

Since 10.9.0 Introduced.

ShopperListsController::get_supported_slugs() code WC 11.0.1

public function get_supported_slugs(): array {
	return array_keys( self::SUPPORTED_LISTS );
}