Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_num_queries [ WordPress Function ]

get_num_queries ( No parameters )
Returns:
  • (int) Number of database queries
Defined at:



Retrieve the number of database queries during the WordPress execution.

Source


<?php
function get_num_queries() {
    global 
$wpdb;
    return 
$wpdb->num_queries;
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics