Use the file that wordpress generate at “export”. It should contain the basic info you are talking about (although not the user’s passwords if you are expecting to get it as well). It is just an xml file which you can parse, you can even look at the code of the wordpress importer for guidance.
Related Posts:
- How to add category to: ‘wp-admin/post-new.php’?
- WP Rest API v2 filter and display latest post with specific tag
- WP REST API, query total posts in a category
- Get post from custom REST endpoint in Gutenberg
- WordPress Rest API – Get all posts based on post_meta on custom endpoint
- Disable REST API for a user ROLE
- ping_status in JSON REST API
- WordPress blog posts api – get posts by author
- WP rest api returns 404 only when author param is used
- Exclude posts w/ specific post_meta on Rest API endpoint
- Add ajax load more function using WP API
- WordPress REST API not returning all posts
- Exclude post_meta from Rest API Endpoint
- WP Remote Request not returning all of content via request
- Get more than one author’s posts with REST API
- How to create a post using REST API with sending data as a JSON body?
- How can I get the media inside a post?
- WordPress Rest API Create Post
- Call Web Services on post first publish
- Getting featured image with PHP and not javascript from wordpress api _embed [closed]
- search blog posts by author first name and or last name
- Creating a WordPress Post via REST API – HTML or Markdown?
- How to get post with associated categories and tags names instead of ids with rest api?
- What date to use as a post date? date_gmt or modified_date_gmt
- Custom wp-query in wordpress rest api
- Filter out posts based on a certain post_meta on the WordPress REST API
- Optimal WP Web App Backend for mobile app development
- Delete Post but retain image of post [WP REST API]
- Pull in posts using post meta for REST API
- Rest API Paginate until all posts are imported
- Add a field in my rest api
- How do I assign an attachment to a post using only the REST API?
- WordPress rest API get Posts parent by post ID
- Updating post status via rest api
- exclude particular category in api
- Weird problem occurs while using WordPress REST API to create new post
- How to set the post permalink using the WordPress REST API?
- How to prevent post update using transition_post_status
- REST API Working for GET but not for POST?
- Loading posts outside wordpress
- How to create REST Based JSON API(how to modify the code below)?
- Best Way to detect unique posts in wp rest api
- WP Rest API feature image breaking react component
- Changes done in admin panel are taking time to reflect in the REST api responses
- Stop WP from creating “Sample Page” and “Hello World!” post
- How to Create Editable Blocks of Text for the Homepage?
- Set Post Title to Read-only and Disable Permalink Slug Editor in Gutenberg
- how to get permalink using sql
- how to display full post with pagination on home page
- how to grab first link in post… and of course call it
- Get all posts by post_author
- Linking to page with all posts
- What Defines What Category A Post Picks (if in multiple)
- Every possible way to get data (posts) from WordPress
- Show info to author only
- Can I use images as anchor tags with
- How to get post bulk edit action trigger and get edited post ids?
- Paginated Posts – Social Media Buttons Share First Page URL
- IP camera jpg stream to post
- Is there a straight-forward way to iterate over all shortcodes in a post?
- Using custom post template
- Adding custom fields to bbpress reply form
- Post id algorithm in WordPress
- Skip in WordPress Post ID’s, can this cause issues?
- WordPress Comment posting problem
- Pasting code into WordPress post – LFs being eaten
- Insert sometext after first h3 in content
- Remove password protected posts from default RSS feed
- Why posts array is empty?
- How to disable the_excerpt from one post
- Blog post not showing title
- How do you search for a post or page with a certain url on the WordPress admin panel?
- How to check in functions.php if there is data in a WP_Query?
- Display the 2nd category name of a custom post type without error if its null?
- How to set a certain Custom Template to a Single Blog Post
- How to Featured content with images in home page?
- why the posts queried from sql is more than those showed on the page?
- Highlighting Current Category in the Archive and Feeds page
- Get current taxonomy and display query accordingly
- Change permalinks for posts & for custom post types
- Add static text to post URLs
- How to customize blog post titles to render a YouTube logo on posts with an embedded video?
- Post page overwrite the custom blog page
- Check if almost 10 year old – working code is up to date
- Post Image Gallery After Content Function messes with other content
- Query custom post type custom meta key
- WordPress: Develop multiple posts with different data
- Remove pagination if search returns empty
- Page with Category Returning 1
- Customizing URL slugs of Custom Post Type and Taxonomy make posts/pages 404
- Expired Post with More Recent Time Stamp?
- Post preview in iframe without saving the post
- Set post beginning date and final date
- How to get only current images of a post
- Using Post ID and Page ID in same function
- How to Include a common category in a custom Category Search
- How do I insert a custom field in a user submitted post?
- Viewing category won’t show up Custom post type posts
- Exclude posts by date – related post
- How to update a lot of posts on my WP site with additional content?