WordPress at a glance
function is not described

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() WP 5.6

<?php
public function get_caller() {
	return wp_debug_backtrace_summary( __CLASS__ );
}