futtta / autoptimize

Official Autoptimize repo on Github
https://autoptimize.com/pro/
GNU General Public License v2.0
283 stars 87 forks source link

Add filter to deactivate the plugin from the code #401

Closed rodrigo-arias closed 1 year ago

rodrigo-arias commented 1 year ago

This PR adds a new filter (disabled by default) to deactivate the plugin from the code.

Useful when Autoptimize is a dependency of another plugin installed in both standard and headless installations and you want to disable it only in the latter.

Originally discussed in https://wordpress.org/support/topic/filter-to-deactivate-the-plugin/

rodrigo-arias commented 1 year ago

@futtta thanks for merging this. Do you have an ETA for when you will release the next version?