get_num_queries()
Retrieve the number of database queries during the ClassicPress execution.
Return
(int) Number of database queries.
Source
File: wp-includes/functions.php
function get_num_queries() {
global $wpdb;
return $wpdb->num_queries;
}
Changelog
Version | Description |
---|---|
WP-2.0.0 | Introduced. |