I am using the below in my wordpress for developing a oauth based application. WP-API (api generating plugin) WP API OAuth1 (oauth server)and WP API client-cli (oauth client library)...
I am using per_page instead of the filter since it is no more available. but the problem is per_page value can be between 1 and 100. what if I...
I was using the below API to fetch all posts http://example.com/wp-json/wp/v2/posts/?filter[posts_per_page]=-1 Since the last two days, all of a sudden it stopped working. For example, the first API used...
There is no “filter” parameter in WP REST API WP 4.7 and this call doesn’t work: http://domain.tld/wp-json/wp/v2/cpt_name?meta_query[0][key]=cf_name&meta_query[0][value][0]=cf_value1&meta_query[0][value][1]=cf_value2&meta_query[0]...
I am trying to filter users on meta field, say abc is user meta field and value is 123 for user1. I have tried filter parameter with WP query...
I’m using the rest API to get only selected posts though Rest API. I have used include=<ids> parameter. I have send the API request like: http://example.com/wp-json/wp/v2/posts?include=11,12 It works as...
I’ve defined a REST endpoint /my-plugin/v1/post-read to show whether a post has been read or not, per-user. In PHP, my plugin keeps track of this depending on page views...
I am querying in the WordPress API for all pages of media attachments. I am going page by page. I have about 5800 pages and when I hit pages...
I am using the latest, WP-API and the recommended Basic Auth, to test adding a post to WP from remote. I have Access Headers opened up on the WP...
I’m trying to post to a WordPress server on an AWS Lightsail instance using node-wpapi. However, the server returns a 401 error. I already have a .htaccess file with...