Skip to content

Commit 69aee0d

Browse files
committed
Add support for block editor.
1 parent 6a0eb96 commit 69aee0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

includes/post.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ function pronamic_domain_mapping_create_initial_post_types() {
3939
'public' => true,
4040
'menu_position' => 30,
4141
'capability_type' => 'page',
42+
'show_in_rest' => true,
4243
'supports' => array(
4344
'title',
4445
'editor',

0 commit comments

Comments
 (0)