Skip to content

Commit

Permalink
Enable REST API for Block Editor
Browse files Browse the repository at this point in the history
see #31
  • Loading branch information
markjaquith committed Nov 8, 2019
1 parent edbb25f commit 0ae551f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public function init() {
'public' => false,
'show_ui' => true,
'show_in_menu' => false,
'show_in_rest' => true,
'hierarchical' => true,
'supports' => array( 'title', 'editor', 'revisions', 'page-attributes' ),
'map_meta_cap' => true,
Expand Down

0 comments on commit 0ae551f

Please sign in to comment.