You are almost there! If you check out where the plugin developer is adding this action, you’ll see they are setting a priority of 1000. While the priority of your function is being called at 999.
https://plugins.trac.wordpress.org/browser/all-in-one-seo-pack/trunk/aioseop_class.php#L3907
Update your priority to be greater than 1000:
add_action( 'admin_bar_menu', 'aldous_remove_items_from_admin_bar', 1200 );
Overriding function calls with plugins is a bit tricky, because you don’t know what sort of priority they set on their calls.
Hope that helps!!
Related Posts:
- Edit specific nodes in WP_Admin_Bar
- Adding a menu item in the admin bar
- Reorder custom submenu item
- Weird white space in admin area
- How do I Enqueue styles/scripts on Certain /wp-admin Pages?
- Changing Admin Menu Labels
- Is there ANY way to remove comments function and section totally?
- Add “external” link to admin menu in the backend
- How to add custom submenu links in wp-admin menus?
- How to Remove All Admin Bar Menu Items?
- How to add notification bubble for my custom admin menu page
- Change the link of ‘Howdy’ at the top right
- How to create sub menu with a URL parameter?
- How to remove items from +New admin menu?
- Make sub menu items a main link in the admin menu using fuctions.php
- Add column to pages table
- Admin account only shows Profile and Dashboard with no activity
- How to wrap admin menus and menu headers in additional divs without modifying the WordPress core?
- Admin pages have no content
- How to disable admin flyout menus?
- Removing admin bar from wordpress dashboard
- remove plugin admin menu in wordpress without installing plugin in v3.8.1
- How to prevent parent admin page from appearring as a child admin page
- Rename W3 Total Cache admin menu
- Display $pagenow error notice on all admin pages
- Remove query var on admin pages when ‘Save changes’ pressed
- Change top level menu item to point to custom submenu item
- wp_before_admin_bar_render action not working in back office
- Create a admin page in wordpress without admin menus (“wordpress sidebars”)
- Admin Panel – Custom Menu Sub-Item LINK
- Cannot find an OLD Gravity Form on an OLD Word Press site [closed]
- wrapping ‘rest_api_init’ in ‘is_admin()’ function
- Add column to pages table
- Possibilities for the edit.php admin panel? [closed]
- Add menu option to “New Post” menu in admin bar
- Admin menu in front-end
- Remove or move admin submenus under a new menu
- How to get specific page screen ID
- Removing Dashboard Menu Items Through The Database
- WordPress Side Menu Admin Panel Default Order numbers List?
- load-{$page hook} and returned parameter
- Hide admin menu on update_option
- meta box on new admin page
- Unable to display WordPress admin bar in the frontend as an admin
- How to hide Admin Tabs? [duplicate]
- Making Comments, a sub_menu in admin menu
- Admin top level menu, pointing to an external url
- How to break line / add to ADMIN menu
- How to Find The Email of a WP Admin Account
- Adding Notification Bubble on Admin Top Bar
- Creating custom admin panel pages without making a plugin?
- How do I change the hover (focus) color of admin bar from frontend?
- Change users.php WP_User_Query
- How can I control which plugins run in the dashboard?
- how to stop wordpress admin menu from scrolling with page
- Trying to create a page as a menu item in the admin while keeping the admen panel visible
- How to make an admin plugin menu page go full screen?
- Sub menu is not working properly
- Custom admin menu order fails if slugs are complicated
- WordPress Admin Panel Left Sidebar No showing on Post create page
- How to change the URL of sub menu page?
- Redirect from wp-admin back to page
- How to move “Collapse Menu” to top of admin bar?
- Appearance -> Menus doesn’t show
- restrict admin panel sections to users
- Remove menu item dashboard for a unique user
- How to display status messages in admin panel
- adding existing menu page on new customer user role
- Disable flyout (popup) menus in backend
- Remove Theme menu link from Admin Panel
- Remove capability to interact with a page
- How to keep the plugin submenu open on viewing a custom version of users.php?
- Redirection to external site on admin
- Move Custom Taxonomy Menu to Top Level Admin Menu
- get_current_screen() does not return parent_file
- wp_list_tables bulk actions
- Activating Child Theme Breaks Website, Blank Page, Error 500
- wp-admin is redirecting to back to home page (localhost)
- Cloned a site but can’t log in – redirecting to old site
- Can I edit the wp_post > post_content right before its inserted/updated?
- I get “The PHP Date/Time library is not supported by your web host.” on my CentOS host, what library to I need to install to add support?
- How can I allow core, plugin, theme update checks only for selected admins?
- Locked Out Of WordPress Admin Dashboard After Server Move
- admin_post action not usable if admin access denied to user
- Linking table cells to network folders
- Remove bulk option row
- Require Login Redirect to Login Page
- How to fix ob_end_flush() failed to send buffer of zlib output compression (1)?
- Delete the “wp-admin” folder – what could go wrong?
- Blank page when viewing wp-admin
- Is it possible to display my theme sidebar in wordpress admin?
- How to access wordpress from domainB which is installed at domainA
- How to optimize the opening speed of admin panel?
- Change wordpress admin home page
- Strange wp admin edit buttons issue
- Cannot access wp-admin after migration to another place
- Not able to access WP admin Page, redirected and a drop down login menu appears 401 error
- Is it possible to outsource wp-admin to another server?
- Forcing ALL plugin Admin menus into a separate menu
- Search box for hierarchical taxonomies in admin interface