I'd like to override a function registered using do_action() by a third party theme or plugin. remove_action() looks to be the way to do this but its not working in my particular case. Is there a way to list all actions registered by a theme or plugin, including their priority values e.g. using wp cli?

Perhaps something which iterates over and displays a pretty output of all levels of the $wp_filter array?


One option is to use the Debug bar plugin and the Debug Bar Actions and Filters Addon

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.