関数 get_num_queries()
定義ファイル :/blog/wp-includes/functions.php 6
get_num_queries()
1 2 3 4 5 6 7 8 9 10 11 12 13 | /** * Retrieve the number of database queries during the WordPress execution. * * @since 2.0.0 * * @global wpdb $wpdb WordPress database access abstraction object. * * @return int Number of database queries. */ function get_num_queries() { global $wpdb; return $wpdb->num_queries; } |