This commit is contained in:
Ilyas Foo 2021-03-11 08:40:26 +08:00 committed by GitHub
parent 4ec75439c5
commit 0be173f4fd
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ We also expose CSS classes on the `body` tag, so that you can target specific fe
## Basic Use - Server
Feature flags are also available via PHP. To ensure these are consistent with the built client assets, `includes/feature-flags.php` is generated by the plugin build process or `npm start`. Do not edit `includes/feature-flags.php` directly.
Feature flags are also available via PHP. To ensure these are consistent with the built client assets, `includes/feature-config.php` is generated by the plugin build process or `npm start`. Do not edit `includes/feature-config.php` directly.
To check if a feature is enabled, you can use the `Automattic\WooCommerce\Admin\Loader::is_feature_enabled()`: