true, 'label' => 'Locked Paragraph', 'show_in_rest' => true, 'supports' => $supports, 'template' => array( array( 'core/paragraph' ), ), 'template_lock' => 'all', ) ); register_post_type( 'locked-footnotes', array( 'public' => true, 'label' => 'Locked Footnotes', 'show_in_rest' => true, 'supports' => $supports, 'template' => array( array( 'core/paragraph' ), array( 'core/footnotes' ), ), 'template_lock' => 'all', ) ); } add_action( 'init', 'gutenberg_test_footnotes_locked_template' );