Skip to content

Commit

Permalink
Blueprint to enable all three DataViews Gutenberg experiments (#85)
Browse files Browse the repository at this point in the history
These three experiments are enabled in one step. 

- Data Views: add Custom Views
- Data Views: enable for Posts
- Data Views: add Quick Edit
  • Loading branch information
bph authored Jan 14, 2025
1 parent 6d27091 commit 6e8490f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions blueprints/gb-more-experiments/blueprint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"meta": {
"title": "Enable all three Dataview Experiments in Gutenberg",
"author": "bph",
"description": "Blueprint example to enable multiple Experiments within the Gutenberg plugin ",
"categories": ["Gutenberg", "Experiments"]
},
"landingPage": "/wp-admin/site-editor.php",
"plugins": [ "gutenberg" ],
"steps": [
{
"step": "login"
},
{
"step": "runPHP",
"code": "<?php require '/wordpress/wp-load.php'; update_option( 'gutenberg-experiments', array( 'gutenberg-custom-dataviews' => true, 'gutenberg-new-posts-dashboard' => true, 'gutenberg-quick-edit-dataviews' => true ) );"
},
{
"step": "updateUserMeta",
"meta": {
"admin_color": "modern"
},
"userId": 1
}
]
}

0 comments on commit 6e8490f

Please sign in to comment.