A simple debug function for when you get lost in WordPress

I’m continuing my little collection of useful snippets. Today's example is useful for when you are unsure how a function is called.

1

wp_debug_backtrace_summary()

The function returns a comma separated list of the function calls that led to the current function.