[wp-hackers] Detecting which action ran function

Robert Lusby nanogwp at gmail.com
Fri Aug 12 14:36:17 UTC 2011

I have a function that is called from a number of different actions.

The function does essentially the same, except for one small difference 
on output depending which action triggered it.

How do you detect which WP action has called the function?


More information about the wp-hackers mailing list