wpdb::get_caller() public WP 2.5.0
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.
{} It's a method of the class: wpdb{}
No Hooks.
Return
String. Comma-separated list of the calling functions.
Usage
global $wpdb; $wpdb->get_caller();
Changelog
Since 2.5.0 | Introduced. |
Code of wpdb::get_caller() wpdb::get caller WP 5.6
public function get_caller() {
return wp_debug_backtrace_summary( __CLASS__ );
}