Automattic\WooCommerce\Internal\Features
FeaturesController::display_notices_in_plugins_page
Handler for the admin_notices action.
Method of the class: FeaturesController{}
No Hooks.
Returns
null. Nothing (null).
Usage
$FeaturesController = new FeaturesController(); $FeaturesController->display_notices_in_plugins_page(): void;
FeaturesController::display_notices_in_plugins_page() FeaturesController::display notices in plugins page code WC 10.4.3
public 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();
}
}