plugin-icon

Keep New Admin Menu Items in Bottom

제작자: Antonio Augusto·
WordPress plugin to keep new plugin admin menu items at the bottom of the admin menu.
버전
1.2.1
활성화된 설치 항목
10
최근 업데이트일
Jan 18, 2025
Keep New Admin Menu Items in Bottom

The “Keep New Admin Menu Items in Bottom” WordPress plugin maintains a tidy and organized admin menu by ensuring that newly added menu items appear at the bottom of the menu. This helps maintain a consistent and organized admin interface, keeping your default WordPress menu items in their familiar positions.

Features

  • Automatically orders default WordPress menu items
  • Pushes new menu items to the bottom
  • WooCommerce and Elementor menu items stay in the same position.
  • Customizable through hooks

Developer Hook Example

You can modify the default menu items using the knamib_default_slugs filter:

// List menu slugs add_action('admin_notices', function () { global $menu; ?> <div class="notice notice-success is-dismissible"> <p> <pre><?php print_r(array_column($menu, 2)); ?></pre> </p> </div> <?php }); // Add a custom menu item to the default items list add_filter('knamib_default_slugs', function ($default_slugs) { $slug = 'jetpack'; array_splice($default_slugs, 3, 0, $slug); // splice in at position 3 return $default_slugs; }); // Remove an item from the default items list add_filter('knamib_default_slugs', function ($default_slugs) { return array_diff($default_slugs, ['woocommerce']); // Removes Media from default items return $default_slugs; });
무료유료 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.7.5
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.