Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation Editor: ability to disable via filter #37640

Closed
superbmario opened this issue Dec 28, 2021 · 2 comments
Closed

Navigation Editor: ability to disable via filter #37640

superbmario opened this issue Dec 28, 2021 · 2 comments
Labels
[Type] Question Questions about the design or development of the editor.

Comments

@superbmario
Copy link

Much like the filters to disable the new Widgets editor, will there be a filter to disable the new Navigations editor?

Currently for widgets:

// Disables the block editor from managing widgets in the Gutenberg plugin.
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false' );
// Disables the block editor from managing widgets.
add_filter( 'use_widgets_block_editor', '__return_false' );

For Navigation I assume the following? Building on the comments at #24683 (comment)

// Disables the block editor from managing navigations in the Gutenberg plugin.
add_filter( 'gutenberg_use_navigation_block_editor', '__return_false' );
// Disables the block editor from managing navigations.
add_filter( 'use_navigation_block_editor', '__return_false' );
@superbmario superbmario changed the title Filter to disable the new Navigations Editor Navigation Editor: ability to disable via filter Dec 28, 2021
@annezazu annezazu added [Feature] Navigation Screen [Type] Question Questions about the design or development of the editor. labels Dec 28, 2021
@superbmario
Copy link
Author

After trying WP 5.9 RC3, I can see that the 'Appearance > Menus' page is not changed to Gutenberg like the 'Appearance >Widgets' page was. So if I understand correctly, a filter to disable that from happening will not be required. Therefore this issue could be closed if so.

@kathrynwp
Copy link

Closing this issue due to the Navigation Screen project being moved to an inactive status on the feature projects page in coordination with the project leads. (The developer documentation in the initial post are no longer accessible)

If this work is picked back up, issues can be revisited and reopened as needed. Thanks for pitching in on this early feature so the wider WordPress project could benefit from the lessons learned!

@kathrynwp kathrynwp closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Question Questions about the design or development of the editor.
Projects
None yet
Development

No branches or pull requests

3 participants