Welcome to The Codingdom Blog where I share my ideas on working with the technology related to PHP, and a lot of other handy stuff.
Has anyone run into the issue where not all the users are returned? At the moment only users who have contributed to content are returned in the WP user endpoint. Use the below hook to return all the users rathar than the users who have contributed to the content. add_filter( ‘rest_user_query’, ‘remove_has_published_posts_from_wp_api_user_query’, 10, 2 ); … Continue reading WP Users Endpoint to return all users
Do you ever experience an error like the above image within your xml file? If so, this is caused by a silly thing in the xml template. You need to check whether the template consist of any echo statement. By removing the echo from your template, this error message will be vanished.