wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
_disable_content_editor_for_navigation_post_type is private and should not be used in themes or plugins directly.
_disable_content_editor_for_navigation_post_type › WordPress Function
Od5.9.0
Przestarzałyn/a
› _disable_content_editor_for_navigation_post_type ( $post )
Dostęp: |
|
Parametry: |
|
Zdefiniowane na: |
|
Codex: |
This callback disables the content editor for wp_navigation type posts.
Content editor cannot handle wp_navigation type posts correctly. We cannot disable the "editor" feature in the wp_navigation's CPT definition because it disables the ability to save navigation blocks via REST API.