_disable_block_editor_for_navigation_post_type
- %1$s is private and should not be used in themes or plugins directly.
_disable_block_editor_for_navigation_post_type ( $value, $post_type )
Access:Parameters:- (bool) value Whether the CPT supports block editor or not.
- (string) post_type Post type.
Returns:- (bool) Whether the block editor should be disabled or not.
Defined at: - Introduced in WordPress: 5.9.0
- Deprecated in WordPress: —
Description
Disables block editor for wp_navigation type posts so they can be managed via the UI.