_disable_block_editor_for_navigation_post_type


_disable_block_editor_for_navigation_post_type ( $value, $post_type )

Access:
  • private
Parameters:
  • (bool) value Whether the CPT supports block editor or not.
  • (string) post_type Post type.
Returns:
  • (bool)
Defined at:

Description

Disables block editor for wp_navigation type posts so they can be managed via the UI.

Related Functions

_disable_content_editor_for_navigation_post_type, _enable_content_editor_for_navigation_post_type, use_block_editor_for_post_type, use_block_editor_for_post, register_block_core_navigation_area

Top Google Results

User discussions

wpseek mobile