Action/Filter manager (Loader)
JoryHogeveen opened this issue · comments
Jory Hogeveen commented
Currently I don't manage where and when I add actions and filters.
Might come in handy to create a manager class that handles all this.
It will be a lot easier to register/de-register all hooks etc.
Differences from example:
Register in WP right away, do not use/create the run
method.
Maybe later:
- Add an extra layer in there for type identifiers (
core
,view
,role-defaults
, etc.) - Also let it handle
apply_filters
anddo_action
?