Uses
Uses | Description |
---|---|
wp-includes/functions.php: wp_debug_backtrace_summary() | Return a comma-separated string of functions that have been called to get to the current point in code. |
Retrieves the name of the function that called wpdb.
Searches up the list of functions until it reaches the one that would most logically had called this method.
(string) Comma-separated list of the calling functions.
File: wp-includes/wp-db.php
public function get_caller() { return wp_debug_backtrace_summary( __CLASS__ ); }
Version | Description |
---|---|
2.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wpdb/get_caller