WPDB Última consulta
// Print last SQL query string
echo $wpdb->last_query;
Adventurous Alligator
// Print last SQL query string
echo $wpdb->last_query;
echo $wpdb->last_query;