wpdb::get_caller()publicWP 2.5.0

Retrieves a comma-separated list of the names of the functions that called wpdb.

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.

wpdb::get_caller() code WP 6.1.1

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