Support

Account

Home Forums General Issues WP api orderby Reply To: WP api orderby

  • Don’t think the filter param exists anymore. Also, the REST API doesn’t support the same orderby parameters as a regular WP query. It supports author, date, id, include, modified, parent, relevance, slug, include_slugs, title.

    You likely would have better luck using something like rest_{$this->post_type}_query.