diff --git a/lib/register.php b/lib/register.php index c32d777bb69c0..d52722aba1aa5 100644 --- a/lib/register.php +++ b/lib/register.php @@ -390,6 +390,7 @@ function gutenberg_register_post_types() { 'singular_name' => 'Block', ), 'public' => false, + 'rewrite' => false, 'show_in_rest' => true, 'rest_base' => 'blocks', 'rest_controller_class' => 'WP_REST_Blocks_Controller',