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();


Since 2.5.0 Introduced.

Код wpdb::get_caller() WP 5.5.1

public function get_caller() {
	return wp_debug_backtrace_summary( __CLASS__ );