WordPress at a glance
функция не описана

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{}

Хуков нет.

Возвращает

String. Comma-separated list of the calling functions.

Использование

$wpdb = new wpdb();
$wpdb->get_caller();

Changelog

Since 2.5.0 Introduced.

Код wpdb::get_caller() WP 5.5.1

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