Automattic\WooCommerce\Internal\CLI\Migrator\Core

PlatformRegistry::get_platformspublicWC 1.0

Returns the entire array of registered platform configurations.

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

Хуков нет.

Возвращает

Массив.

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

$PlatformRegistry = new PlatformRegistry();
$PlatformRegistry->get_platforms(): array;

Код PlatformRegistry::get_platforms() WC 11.0.1

public function get_platforms(): array {
	return $this->platforms;
}