Description
Post Fixtures let you quickly tear down and set up test environments within your development WordPress environment. This allows you to create post, category, and options configurations to test specific issues and features of your themes and plugins.
Post Fixtures places a new menu item under Tools called Post Fixtures. When you visit the page, you’ll see a large textarea in which to copy and paste your JSON fixture data. Submitting the form with valid JSON data will cause your posts and categories to be deleted & overwritten, and any options provided to be overwritten or deleted.
As of the current release on GitHub, the following WordPress features are supported:
- Posts
- Most post data found in the
posts
table - Post metadata with serialization
- Most post data found in the
- Categories
- Tags
- Blog options with serialization and deletion