Does anyone know if there is a way of exporting all you WP users through API? I tried WP Rest API but that only gives me the users who has is an author in the site. we use ultimate member plugin to organize and categorize the members, but their API does not look promising(more like useless)
Instead of manually export the user data, I am trying to find a way to export it through API, so everytime I call that API, it will just give the data.
Custom Endpoint with WP REST API:
You can create a custom endpoint using the WordPress REST API to fetch the user data. This could involve creating a custom plugin or adding code to your theme's functions.php file.
This example creates a custom endpoint /wp-json/custom/v1/user-export/ that returns user data. You can customize the fields and data to match your requirements.