Set $args to an array, or build $query = new WP_Query( … ) yourself. The code runs as PHP inside a real WordPress 7.1 running in your browser. Nothing is sent to a server.
0found_posts
0post_count
0max_num_pages
–ms
Run a query to see the matching posts.
$query->request
Run a query to see the SQL WordPress generated.Every query var after WordPress filled in its defaults. Empty values are left out.
$query->query_vars
Run a query first.Loading once WordPress is ready…
The WordPress site your queries run against.