OS : Linux
PHP Version : 7.4.33
Software : Apache/2.4.6 (CentOS) PHP/7.4.33
Information System : Who can access this plugin > Super Admin On a single site installation this is usually the same as the Administrator role. > Anyone with the "manage_options" capability By default only Administrators have this capability. > Only the current user Login: user_login); ?>, user ID: > Hide "Admin Menu Editor" from the "Plugins" page for other users Multisite settings > Global — Use the same admin menu settings for all network sites. > Per-site — Use different admin menu settings for each site. Modules get_available_modules() as $moduleId => $module) { if ( !empty($module['isAlwaysActive']) ) { continue; } $isCompatible = $wp_menu_editor->is_module_compatible($module); $compatibilityNote = ''; if ( !$isCompatible && !empty($module['requiredPhpVersion']) ) { if ( version_compare(phpversion(), $module['requiredPhpVersion'], '<') ) { $compatibilityNote = sprintf( 'Required PHP version: %1$s or later. Installed PHP version: %2$s', esc_html($module['requiredPhpVersion']), esc_html(phpversion()) ); } } echo ''; /** @noinspection HtmlUnknownAttribute */ printf( ' %4$s ', esc_attr($moduleId), $wp_menu_editor->is_module_active($moduleId, $module) ? 'checked="checked"' : '', // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Constant strings. $isCompatible ? '' : 'disabled="disabled"', esc_html(!empty($module['title']) ? $module['title'] : $moduleId) ); if ( !empty($compatibilityNote) ) { // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- $compatibilityNote was escaped when generated. printf('%s', $compatibilityNote); } echo ''; } ?> Interface > Hide advanced menu options by default > Enable the "Hide (cosmetic)" toolbar button This button hides the selected menu item without making it inaccessible. Editor colour scheme > Blue and yellow > Modern > Grey Show submenu icons > Always > Only when manually selected > Never New menu visibility > Leave unchanged (default) No special restrictions. Visibility will depend on the plugin that added the menus. > Show only to users who can access this plugin Automatically hides all new and unrecognized menus from regular users. To make new menus visible, you have to manually enable them in the menu editor. New menu position > Maintain relative order Attempts to put new items in the same relative positions as they would be in in the default admin menu. > Bottom Puts new items at the bottom of the admin menu. Three level menus null, 'Enabled' . ($isProVersion ? '' : ' (only in editor)') => true, 'Disabled' => false, ); foreach ($nestingOptions as $label => $nestingSetting): ?> > WPML support > Make edited menu titles translatable with WPML The titles will appear in the "Strings" section in WPML. If you don't use WPML or a similar translation plugin, you can safely disable this option. bbPress override > Prevent bbPress from resetting role capabilities By default, bbPress will automatically undo any changes that are made to dynamic bbPress roles. Enable this option to override that behaviour and make it possible to change bbPress role capabilities. Error verbosity level > Low Shows a generic error message without any details. > Normal Shows a one or two sentence explanation. For example: "The current user doesn't have the "manage_options" capability that is required to access the "Settings" menu item." > Verbose Like "normal", but also includes a log of menu settings and permissions that caused the current menu to be hidden. Useful for debugging. Debugging > Show menu access checks performed by the plugin on every admin page This can help track down configuration problems and figure out why your menu permissions don't work the way they should. Note: It's not recommended to use this option on a live site as it can reveal information about your menu configuration. > Attempt to override menu icon CSS that was added by other plugins > Automatically delete settings associated with missing roles and users Applies only to certain parts of the plugin. In Multisite, this option is disabled by default because different sites can potentially have different roles. > Compress menu configuration data that's stored in the database Significantly reduces the size of the DB option, but adds decompression overhead to every page. Server info PHP error log: PHP memory usage:
> Super Admin On a single site installation this is usually the same as the Administrator role.
> Anyone with the "manage_options" capability By default only Administrators have this capability.
> Only the current user Login: user_login); ?>, user ID:
> Hide "Admin Menu Editor" from the "Plugins" page for other users
> Global — Use the same admin menu settings for all network sites.
> Per-site — Use different admin menu settings for each site.
'; /** @noinspection HtmlUnknownAttribute */ printf( ' %4$s ', esc_attr($moduleId), $wp_menu_editor->is_module_active($moduleId, $module) ? 'checked="checked"' : '', // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Constant strings. $isCompatible ? '' : 'disabled="disabled"', esc_html(!empty($module['title']) ? $module['title'] : $moduleId) ); if ( !empty($compatibilityNote) ) { // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- $compatibilityNote was escaped when generated. printf('%s', $compatibilityNote); } echo '
> Hide advanced menu options by default
> Enable the "Hide (cosmetic)" toolbar button This button hides the selected menu item without making it inaccessible.
> Blue and yellow
> Modern
> Grey
> Always
> Only when manually selected
> Never
> Leave unchanged (default) No special restrictions. Visibility will depend on the plugin that added the menus.
> Show only to users who can access this plugin Automatically hides all new and unrecognized menus from regular users. To make new menus visible, you have to manually enable them in the menu editor.
> Maintain relative order Attempts to put new items in the same relative positions as they would be in in the default admin menu.
> Bottom Puts new items at the bottom of the admin menu.
>
> Make edited menu titles translatable with WPML The titles will appear in the "Strings" section in WPML. If you don't use WPML or a similar translation plugin, you can safely disable this option.
> Prevent bbPress from resetting role capabilities By default, bbPress will automatically undo any changes that are made to dynamic bbPress roles. Enable this option to override that behaviour and make it possible to change bbPress role capabilities.
> Low Shows a generic error message without any details.
> Normal Shows a one or two sentence explanation. For example: "The current user doesn't have the "manage_options" capability that is required to access the "Settings" menu item."
> Verbose Like "normal", but also includes a log of menu settings and permissions that caused the current menu to be hidden. Useful for debugging.
> Show menu access checks performed by the plugin on every admin page This can help track down configuration problems and figure out why your menu permissions don't work the way they should. Note: It's not recommended to use this option on a live site as it can reveal information about your menu configuration.
> Attempt to override menu icon CSS that was added by other plugins
> Automatically delete settings associated with missing roles and users Applies only to certain parts of the plugin. In Multisite, this option is disabled by default because different sites can potentially have different roles.
> Compress menu configuration data that's stored in the database Significantly reduces the size of the DB option, but adds decompression overhead to every page.