Hello guys.
I've been messing with filters and hooks inside a template's functions.php and i couldn't find a way to get a working backend hook.
The reason why i wanted this is that i use a lot of plugins (smaller ones) and i thought of moving some of their functionality directly to the template itself so i don't have too many plugins in the backend (just to keep things clean and this way i dont have to worry about plugins dependencies) so i have some functions to cache navigation, submenus, rss, etc and i need to clear some cache on changedata-save.
Now the question is: Can I somehow access backend-hooks from the functions.php or i must create a separate plugin for these?
I've been messing with filters and hooks inside a template's functions.php and i couldn't find a way to get a working backend hook.
The reason why i wanted this is that i use a lot of plugins (smaller ones) and i thought of moving some of their functionality directly to the template itself so i don't have too many plugins in the backend (just to keep things clean and this way i dont have to worry about plugins dependencies) so i have some functions to cache navigation, submenus, rss, etc and i need to clear some cache on changedata-save.
Now the question is: Can I somehow access backend-hooks from the functions.php or i must create a separate plugin for these?