Passing function into add_action always returns the first argument
I think you are headed down the right path, but I think that func_get_args() is only going to give you the arguments passed to that function. That is how I have always used it in the past. I took a different approach that I think might work. I found debug_backtrace() to be helpful in debugging … Read more