Too many actions/filters!

New to wordpress here. The concept of actions/filters in and of itself is not too difficult to grasp. What I am overwhelmed by is the HUGE amount of actions and filters available. When I am looking at tutorials/guides, they say “simply add this function to the wp_head action or after_setup_theme”. Without these tutorials, how on earth would i know to hook that function to that action?

As a beginner, how the heck would i know what is the appropriate action to hook on to? Any advice on how to navigate this? Thanks

2 Answers
2

Take a look at Mike’s answer to a similar question more specifically the plugin he posted there can be used to create a list of all action hooks and filters that were called to generate that page in order of execution.

Leave a Comment