wpdb::get_caller()publicWP 2.5.0

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

Метод класса: wpdb{}

Хуков нет.

Возвращает

Строку. Comma-separated list of the calling functions.

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

global $wpdb;
$wpdb->get_caller();

Список изменений

С версии 2.5.0 Введена.

Код wpdb::get_caller() WP 6.5.2

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