0

I want to remove all actions attached to admin_notice hook in my plugin at the time a user updates the plugin. Is there any way to find the list of functions attached to admin_notice hook by my plugin?

  • if you work with Linux, there is the command grep -r admin_notice – mmm Apr 9 '17 at 14:48
1

You can use this Plugin ! It supports following features for Hooks

  • Shows all hooks fired on the current request, along with hooked actions, their priorities, and their components
  • Filter hooks by part of their name
  • Filter actions by component (WordPress core, Plugin X, Plugin Y, theme)

https://github.com/johnbillion/query-monitor

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.