WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Получай пассивный доход от сайта
функция не описана

Automattic\WooCommerce\Admin

FeaturePlugin::includes() public WC 1.0

Include WC Admin classes.

{} Это метод класса: FeaturePlugin{}

Хуков нет.

Возвращает

null. Ничего.

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

$FeaturePlugin = new FeaturePlugin();
$FeaturePlugin->includes();

Код FeaturePlugin::includes() WC 5.5.2

<?php
public function includes() {
	// Initialize the WC API extensions.
	ReportsSync::init();
	Install::init();
	Events::instance()->init();
	API\Init::instance();
	ReportExporter::init();
	PluginsInstaller::init();

	// CRUD classes.
	Notes::init();

	// Initialize category lookup.
	CategoryLookup::instance()->init();

	// Admin note providers.
	// @todo These should be bundled in the features/ folder, but loading them from there currently has a load order issue.
	new WooSubscriptionsNotes();
	new OrderMilestones();
	new TrackingOptIn();
	new WooCommercePayments();
	new InstallJPAndWCSPlugins();
	new DrawAttention();
	new SetUpAdditionalPaymentTypes();
	new TestCheckout();
	new SellingOnlineCourses();
	new LearnMoreAboutVariableProducts();
	new WelcomeToWooCommerceForStoreUsers();
	new ManageStoreActivityFromHomeScreen();
	new NavigationNudge();

	// Initialize RemoteInboxNotificationsEngine.
	RemoteInboxNotificationsEngine::init();

	// Initialize MerchantEmailNotifications.
	MerchantEmailNotifications::init();
}