How to remove the customizer menu entry
-
I am using my own Headless WordPress theme with a decoupled frontend. However, I am unsure how to disable/hide the
‘customizer’ menu entry under Appearance? The theme developer handbook or documentation doesn’t really help me much here. I was under the impression that the menu entry would be hidden when the theme is a block theme.
Is it possible to remove the menu using the remove_submenu_page method, inside the themes functions.php file? I have tried this approach – however, I can’t seem to get this working.
I only really only use the Gutenberg/block editor and do not need the customizer menu.
https://i.imgur.com/am3hkR3.png
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to remove the customizer menu entry’ is closed to new replies.