As part of research for a new version of my Achievements plugin for BuddyPress, I need a list of all the BuddyPress action names.
For non-developers, actions are the hooks that WordPress & BuddyPress launches at specific points during execution, or when specific events occur. This allows plugin developers to hook into these events and do whatever they want.
It took me a while, but here’s how you can use the terminal (on Mac or Linux) to find all BuddyPress’ actions.
grep -r -h "do_action( '[aA0-zZ9+]*' )" . | awk -F "['']" '{print $2}' | uniq
Comments
5 Comments so far. Comments are closed.When I activated your plugin none of the “javascript” option in the admin area worked anymore e.g. dragging of widgets, the “screen” button at the top and so on. I took me some to figure out what it exactly was. So I just wanted to share this with you.
Hi Edward
Do you mean Welcome Pack? If so are you able to try version 1.63 and see if problem still exists?
Will you update the Achievements plugin for Buddypress 1.2?
Hi Tom
Yes, I am working a new version currently. I’m rewriting big chunks of functionality rather than just updating for BP 1.2, so it looks like it will be a few weeks until I have a beta ready.
Appreciate the reply! Very good to hear it, can’t wait!