Core Function
View Source on Trac ↗ wp_debug_backtrace_summary()
wp_debug_backtrace_summary( mixed $ignore_class = null, mixed $skip_frames = 0, mixed $pretty = true ) Returns a comma-separated string or array of functions that have been called to get
Parameters 3 required
| Name / Type | Description |
|---|---|
| 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. Required |
| int | $skip_frames Optional. A number of stack frames to skip - useful for unwinding back to the source of the issue. Default 0. Required |
| bool | $pretty Optional. Whether you want a comma separated string instead of the raw array returned. Default true. Required |
Return Value
((string)
(string | array) Either a string containing a reversed comma separated trace or an array
of individual calls.
Function Information
Since Version
3.4.0
Source File
wp-includes/functions.php
Advertisement