Is it possible to build logic to control the activation and deactivation of specific wordpress plugins , for example Activation/Deactivation triggered by time period?
thanks for knowledge sharing.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
If you want to control the time at which those actions happen, then you can use
I know you asked about PHP, but if you have WP-CLI installed on your server, you can also write a script that uses
wp plugin activate and
wp plugin deactivate. Finally, add a cron job to run your script.