Skip to content

Conversation

@lusimeon
Copy link
Contributor

Add a function to check if a plugin is enabled.

I don't add get_enabled_plugins function because we rarely need to get a complete list of enabled plugins.

Fixes studiometa/create-wordpress-project#47

@lusimeon lusimeon changed the base branch from master to develop July 12, 2021 16:08
@codecov
Copy link

codecov bot commented Jul 12, 2021

Codecov Report

Merging #17 (e12a2b0) into develop (36ee41f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop      #17   +/-   ##
==========================================
  Coverage      61.34%   61.34%           
  Complexity       150      150           
==========================================
  Files              7        7           
  Lines            388      388           
==========================================
  Hits             238      238           
  Misses           150      150           
Flag Coverage Δ
unittests 61.34% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@titouanmathis titouanmathis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition! 👍

@lusimeon lusimeon force-pushed the feature/plugin-helper branch 2 times, most recently from 06fa8bc to 26a2079 Compare August 9, 2021 08:10
Add functions to interact with WordPress plugins

Add unit tests for PluginHelper functions
@titouanmathis titouanmathis merged commit 2f405e8 into develop Oct 31, 2022
@titouanmathis titouanmathis mentioned this pull request Oct 31, 2022
titouanmathis added a commit that referenced this pull request Oct 31, 2022
v1.0.0

Added
- Add support for reading filepaths from a Webpack `assets-manifest.json` file (#19)
- Add support for PHP >= 8.0 (#19)
- Add a `PluginHelper` class (#17)
@titouanmathis titouanmathis deleted the feature/plugin-helper branch October 19, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get a list of enabled plugins

3 participants