Automattic\WooCommerce\Internal\Features

FeaturesController::display_notices_in_plugins_page()privateWC 1.0

Handler for the admin_notices action.

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

Хуков нет.

Возвращает

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

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

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

Код FeaturesController::display_notices_in_plugins_page() WC 8.7.0

private function display_notices_in_plugins_page(): void {
	if ( ! $this->verify_did_woocommerce_init() ) {
		return;
	}

	$feature_filter_description_shown = $this->maybe_display_current_feature_filter_description();
	if ( ! $feature_filter_description_shown ) {
		$this->maybe_display_feature_incompatibility_warning();
	}
}