Represents a command to toggle the embedded Metabox menu.
This command can only be used when using the metabox menu.
What does it unlock?
Shows the embedded menu interface. Only works when using the MetaBox native menu (not in standalone/custom menu
mode).
Practical Application
Toggles the native MetaBox right sidebar menu. Takes a boolean parameter. Pass false to hide when building custom UI.
In standalone mode, the menu is already hidden — this is only relevant in default (non-standalone) mode.
AI Coding Best Practices
In standalone mode ({standalone:true}), this is unnecessary (menu already hidden). In default mode,
call new ShowEmbeddedMenu(false) early in initialization to hide built-in UI before rendering custom controls.
Pattern for custom UI: ShowEmbeddedMenu(false) + ShowOverlayInterface(false).
Represents a command to toggle the embedded Metabox menu. This command can only be used when using the metabox menu.
What does it unlock?
Shows the embedded menu interface. Only works when using the MetaBox native menu (not in standalone/custom menu mode).
Practical Application
Toggles the native MetaBox right sidebar menu. Takes a boolean parameter. Pass false to hide when building custom UI. In standalone mode, the menu is already hidden — this is only relevant in default (non-standalone) mode.
AI Coding Best Practices
In standalone mode (
{standalone:true}), this is unnecessary (menu already hidden). In default mode, callnew ShowEmbeddedMenu(false)early in initialization to hide built-in UI before rendering custom controls. Pattern for custom UI:ShowEmbeddedMenu(false)+ShowOverlayInterface(false).Example
Param: visible
A flag indicating whether the embedded menu should be visible.