Timeline for Is there a wildcard/catchall filter hook?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 2, 2016 at 4:32 | comment | added | Mark Kaplun | not all options are loaded from DB at that time, only the autoloading one do, and obviously you miss the options being created at the specific session | |
Nov 2, 2015 at 15:04 | comment | added | bonger | Oh that's interesting - if you add that info to your question you may get better responses... | |
Nov 2, 2015 at 14:37 | comment | added | untore |
so that I can have a single configuration for all the plugins I use in a multisite setup without having to replicate all the options in all the _options tables, if all the plugins provided support for multisite with get_site_option it would have been simple but not everyone use it. Of course if this was possible I would trim out wordpress core options for each subsite which are ~100, but wordpress does not provide a general hook when getting the options
|
|
Nov 2, 2015 at 14:06 | comment | added | bonger | No, it probably isn't. Why do you want to pre-filter all the options? | |
Nov 2, 2015 at 13:31 | comment | added | untore | even tough this is actually an answer it would mean to add like 200+ filters which does not seem like a good idea to me | |
Oct 31, 2015 at 21:56 | history | answered | bonger | CC BY-SA 3.0 |