How can create a custom plugin to call my webapi after any registration or membership plugin functionality
How can create a custom plugin to call my webapi after any registration or membership plugin functionality
How can create a custom plugin to call my webapi after any registration or membership plugin functionality
REST API – Authentication/Logon security
How can I set the default ‘orderby’ and ‘order’ parameters for a REST API call?
Customizer Changeset, Sidebar and Rest API Custom Endpoints
REST API custom endpoints for metaboxes
WordPress REST API filter on blank custom ACF
Some hosts will use a page cache for API routes to deal with this kind of problem. My initial thought would be to look at something like Cloudflare (they have some WordPress presets too) that would allow you to set up this kind of page cache for these API routes. Interested to know how you … Read more
Everything is alright with the option_active_plugins. I accidentally placed mu-plugins in plugins and as it seemed to be activated correctly (and first) I was just blind to that issue. Now the dynamic plugin deactivation works right and I am gaining significant speed improvement on my wp-json endpoints. My bad 🙁 Sorry to all
@TomJNowell pointed you the way to go. You have to enqueue a JS file, and within this JS file you can use any technique to do the REST request, like an XMLHttpRequest object or the fetch API. The REST API itself, of course, is part of WordPress, and defined with register_rest_route(). It is also something … Read more
As you can see in the list of fields in the documentation, where author_email is listed, some fields are only available in the edit context. You can set the context by adding ?context=edit to your request but this will require the request to be authenticated. This is to ensure that personal data is not publicly … Read more