Active vs. Inactive Status
-
I am working on a custom cron job for my site. My intention is to run it daily.
It should:
– Identify all plugins on the site
– Identify each plugin’s version and status (activated or not)
– Compare with the the information from the last time the code was run and log:
— Change in plugin version
— Any plugin removed
— Any plugin added
— Status (Activated or not) of each plugin listed as having been changed, removed or added
My code works find with most plugins.
However, it reports that user-role-editor is not active.
Could this be due to a option_active_plugins filter that is applied when a program runs as a cron job?
Thanks in advance for any insight.
Bob
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Active vs. Inactive Status’ is closed to new replies.