wpdb->queries return null but query_last and num_rows not
-
I have tried to get $wpdb->queries from my plugin to print all wp queries. But $wpdb->queries return null. When I check var_dump($wpdb), it return last_query and num_queries is not 0. How can the $wpdb->queries return null but the last_query and num_quries is filled? and how I can get result for the $wpdb->queries from my plugin?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wpdb->queries return null but query_last and num_rows not’ is closed to new replies.