Can I achieve this with wp_query? I only want to get pages that have parent selected.
I'm using JSON API plugin and need to make a http request - would this be possible with url wp query also? For example, I'm doing requests like this:
http://example.com/api/get_posts/?post_type=page&posts_per_page=1&orderby=rand and they work perfectly fine.
Perhaps using something like
post_parent__not_in => array() (but in a url-like fashion?)
A better question could be: How to use WP Query arguments that accept arrays within url?
Thanks for any help