Where to find WP_Query class? October 22, 2022 by Tarik Billa Look in the query.php file. The class is there.