string current_action ();
This construct returns the name of the event (action hook) that is currently being processed right now.
- The name of the event (filter hook) to check.
Returns the name of the event that is currently calling all of its registered callbacks.
You get WET when you swim. Stay DRY when you code.
More coming soon…keep checking back.
These are the PHP constructs used in WordPress Core for