We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fccd644 commit 4f49851Copy full SHA for 4f49851
1 file changed
traits/admin-menu.php
@@ -14,6 +14,15 @@ trait zukit_AdminMenu {
14
15
public function admin_menu_config() {
16
add_filter('custom_menu_order', [$this, 'admin_menu_modify']);
17
+ $this->snippets('add_admin_style',
18
+ '.wp-core-ui .wp-submenu .wp-menu-separator a',
19
+ 'border-top: 1px solid;
20
+ opacity: 0.2;
21
+ width: 100%;
22
+ display: inline-block !important;
23
+ pointer-events: none;
24
+ cursor: default;'
25
+ );
26
}
27
28
// To modify menu and submenu - pass array with optional keys ['reorder', 'rename', 'remove', 'separator']
0 commit comments