string current_filter ();
This construct returns the name of the event (filter 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.
Don’t repeat yourself. Don’t repeat yourself. Don’t repeat yourself.
More coming soon…keep checking back.