Codex tools: Log in
Retrieve the number of database queries during the WordPress execution.
<?php echo get_num_queries();?>
None.
Since: 2.0.0
get_num_queries() is located in wp-includes/functions.php.
wp-includes/functions.php