summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-inst/wp-includes/functions.php')
-rw-r--r--wp-inst/wp-includes/functions.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/wp-inst/wp-includes/functions.php b/wp-inst/wp-includes/functions.php
index e3a6a0d..ed9e5ff 100644
--- a/wp-inst/wp-includes/functions.php
+++ b/wp-inst/wp-includes/functions.php
@@ -2148,4 +2148,9 @@ function plugin_basename($file) {
return $file;
}
+function get_num_queries() {
+ global $wpdb;
+ return $wpdb->num_queries;
+}
+
?>