function allow_rest_access() { return true; } add_filter('rest_authentication_errors', 'allow_rest_access');
[theme-my-login]