WordPress WPDB debug einfügen
global $wpdb;
print_r( $wpdb->queries );
Darkvent
global $wpdb;
print_r( $wpdb->queries );