Retrieves a comma-separated list of the names of the functions that called wpdb.
public function get_caller() {
return wp_debug_backtrace_summary( __CLASS__ );
}
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wpdb/get_caller