_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) Whether the block editor should be disabled or not.
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, block_core_navigation_get_post_ids

Top Google Results

User discussions

wpseek mobile