New answers tagged api
Transient are not for caching, transients are not for caching, transients are not for caching (ok, got it out of my system now ;) ). Transient are for longish storage of some temporary results but by design they do not offer any predictability that you would want in a cache. If transients were almost good enough for you, then best way is to cache into an ...
You'll want to use cURL to do server to server connections. There are plenty of examples online but here is a good starting point so you can at least know what functions to look into. http://php.net/manual/en/curl.examples-basic.php
You need to use the slug argument: /wp-json/wp/v2/pages?slug=happy-days
Postman doesn't need a nonce to create content with v2 beta 12... just use the WP-API Basic Auth plugin. The one header is the authentication header.
The api does support it, but not with the obvious wp_create_user. You need wp_insert_user.
Top 50 recent answers are included