seems my problem was in my array
'level' => '3',
should’ve been
'level' => 3,
Related Posts:
- Enable Gutenberg on custom post type
- Creating conditional blocks for WordPress Gutenberg
- Add class to Gutenberg Editor for Custom Post Types
- How to filter by custom post type on Gutenberg “Latest Posts’ block
- Gutenberg: Sidebar for specific post type
- Gutenberg how to make attribute to save to meta
- How to add button to post page WordPress 5.x
- WordPress Gutenberg-Block with ESNext (withState, withSelect)
- The editor has encountered an unexpected error. // TypeError: Cannot read property ‘prefix’ of null
- Display different gutenberg template from selected post attributes
- WordPress Rest API only returns content when posttype has editor capability
- Lock post meta block at the bottom of a custom post type
- How can I list all custom post types in a block
- Gutenberg Featured-Image-panel missing when user with custom role edits Custom Post Type
- Adding a Gutenberg-like custom field on a custom post type
- Classic editor showing in Gutenberg when creating a custom post type
- Creating template with h3 block (block editor)
- How To Enable Block Editor (Gutenberg) for Existing Post Type via functions.php
- How to make a custom taxonomy selectable in post publish area?
- show_in_rest false disable Gutenberg
- I can’t choose the custom taxonomy in my custom post type on Gutenberg
- Parent field missing from custom post type in the block editor
- How to get the parent of a non-hierarchical custom post type being edited in Gutenberg
- post_type_link not working in gutenberg
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- Getting meta in editor plugin, and event triggering issue
- Save the post parent in a custom post type in Gutenberg
- WordPress CPT save metadata in gutenberg
- Can I override a CPT template on a per post basis with Gutenberg block editor?
- Query Post Object in WP Admin
- How to display “Category and Post_tag” component in a CPT Gutenberg edit screen?
- Combine multiple getEntityRecords calls
- Custom post type editor uses old tinyMCE
- Use core block functionality in a custom block gutenberg
- How do I assign a block template (.html) to a custom post type?
- Custom post type set default template using block editor
- CPT: Enable Gutenberg, but disable editor field
- Select custom post type do display from page editor
- How add Filter by Tags and by categories to custom post type in Gutenberg block
- Is it possible to add the Gutenberg block editor to a custom taxonomy?
- How to debug failing updates for custom post type?
- Some posts not displaying by taxonomy term
- Can you programme the selected page template to display block patterns automatically?
- Possible to limit internal link search to post types with Gutenberg editor?
- Custom Gutenberg block problem – This block has encountered an error and cannot be previewed
- getEntityRecords/useEntityRecords: How to use CPT metadata?
- Custom Block: Adding “Post Type” dropdown to Sidebar Settings
- Post term block variations not generated for custom taxonomies
- Can’t publish custom type posts that don’t support title and editor, instead they’re saved as draft
- Query all posts where a meta key does not exist
- Can I assign a template to a custom post type?
- How to Add Custom Taxonomy To Woocommerce Plugin
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Custom Post Type Permalink For Parent/Child, 404 Page Not Found Error
- Filter a custom field based on selection of another custom field (ACF) [closed]
- Can you have two CPTs with the same permalink structure?
- Remove wpautop from all posts/pages except my custom post type
- Alphabetical sorting of custom post type – one letter per page
- List all posts in Custom Post Type but group dynamically by Custom Taxonomies
- Post Via Email to a Custom Post Type
- how to only have one custom post type post?
- CPT posts listed by category with custom rewrite URL, please help!
- Custom Post Type and Custom Taxonomy Permalinks
- register_taxonomy and register_post_type does not work [closed]
- Custom Post type is being ignored in query
- get_attached_media() on author page not working
- Custom Post Meta Data in Buddypres Activity Stream
- Getting posts under the custom post type ui category
- map_meta_cap woes
- WordPress combined with a basic MYSQL table [closed]
- Automatically generate a delete post link and provide it to post creator
- How to display custom WP menus?
- How to show the current category of an article with CPT UI
- How to show custom field on specific custom post type posts only when filled
- duplicate comment section functionality and call it something else for custom post types
- Custom Post type registering as page post type
- Say I have a tech blog, how best would I store technical specs for a phone, if i use custom post types
- Display a random customposttype2 excerpt in single-custompostype1.php that shares same taxonomy
- display two images in theme header.php file
- Checking for custom field in admin pages
- Best way to fix bad count on All | Mine | Published
- Cannot manage to display my CPT in Recent Posts widget
- DIVI Theme customizer changes not applied on existing pages and designs are not shown on the front
- Attend event form with ajax
- Populating Custom Fields from live JSON
- Display Specific Posts at Start of Loop
- How to add custom PHP code in post header?
- How can I show post views counter?
- pre_get_posts gives 404 error on Custom Post
- Custom Post Type conditional statement for ID of single post
- Group/list/sort custom post type posts by date in tabs from acf datepicker field
- Custom post status
- Create Custom Post Type PDF File (Like Media) Then Add Searchable Custom Fields
- Get posts associated with custom taxonomy alternate way
- remove custom post type ulr
- Create shortcode for list of custom post titles with custom fields alongside
- Can’t preview custom post – Redirected to home page
- Automatically add custom taxonomy when meta value gets to a set number or beyond
- Pagination not working only on Archive-Name.php using new WP_Query
- Can a taxonomy of a custom post type be called ‘category’?