wpdb::get_caller(): string
- Since
- 2.5.0
- Source
wp-includes/class-wpdb.php:4196
Retrieves a comma-separated list of the names of the functions that called wpdb.
Return
string- Comma-separated list of the calling functions.
Uses · 1
- wp_debug_backtrace_summary()Returns a comma-separated string or array of functions that have been called to get to the current point in code.
Used by · 2
- wpdb::_do_query()Internal function to perform the mysqli_query() call.
- wpdb::print_error()Prints SQL/DB error.
Source
public function get_caller() { return wp_debug_backtrace_summary( __CLASS__ ); }History
Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, from
src/wp-includes/class-wpdb.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.