wp_debug_backtrace_summary
wp_debug_backtrace_summary ( $ignore_class = null, $skip_frames = 0, $pretty = true )
Parameters:- (string) ignore_class Optional. A class to ignore all function calls within - useful when you want to just give info about the callee. Default null.
- (int) skip_frames Optional. A number of stack frames to skip - useful for unwinding back to the source of the issue. Default 0.
- (bool) pretty Optional. Whether you want a comma separated string instead of the raw array returned. Default true.
See:Returns:- (string|array) Either a string containing a reversed comma separated trace or an array of individual calls.
Defined at: - Introduced in WordPress: 3.4.0
- Deprecated in WordPress: —
Description
Returns a comma-separated string or array of functions that have been called to get
to the current point in code.