Skip to main content
Tweeted twitter.com/#!/StackWordPress/status/134274236851298305
edited tags
Link
Rarst
  • 99.9k
  • 10
  • 160
  • 298
Post Migrated Here from stackoverflow.com (revisions)
Source Link
Sparkx
  • 121
  • 1
  • 1
  • 4

what is the way to see the currently executing query in wordpress?

I am working on wordpress which is new to me Now I have been provided with site completely designed in wp But the problem is I am unable to search the query for each functionality/page I found

$wpdb->get_results

used for getting result from database also this is not working

$wpdb->queries

Is there any way to print each query currently executing?.

Please Help.