Warning: This method has been deprecated. since 1.9.0, use Features::is_enabled( $feature ) instead.

Loader::is_feature_enabled( string $feature )

Returns if a specific wc-admin feature is enabled.


Description Description


Parameters Parameters

$feature

(Required) Feature slug.


Top ↑

Return Return

(bool) Returns true if the feature is enabled.


Top ↑

Source Source

File: packages/woocommerce-admin/src/Loader.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.