X Features Cars Demo Power Plants Demo State Parks Demo Site Showcase Docs Tutorials Add-ons Buy

Pass authentication data through REST API requests

By default, the WordPress REST API doesn’t pass along authentication data.

If your FacetWP template depends on the current logged-in user, you’ll run into issues when an AJAX refresh is triggered.

Fortunately, there’s an easy workaround:

[rest_api_auth]