keycdn / cache-enabler

A lightweight caching plugin for WordPress that makes your website faster by generating static HTML files.
https://wordpress.org/plugins/cache-enabler/
123 stars 46 forks source link

Adds default setting & settings filters #173

Closed ouun closed 3 years ago

ouun commented 3 years ago

In many scenarios it is very helpful to filter the predefined & defined settings. E.g. if you have custom Cookie names you need to predefine for users. Or you run a network that has speecific default settings based.

coreykn commented 3 years ago

Thanks for opening this, @ouun. I definitely see how that would be helpful. Would something like pre_option_{$option} and/or option_{$option} work better instead though?

ouun commented 3 years ago

Absolutely! That makes totally sense, simply did not think around the corner. 🙄 Thanks a lot for working on this.