Remove the All in One SEO Menu From the Admin Bar
Hides the AIOSEO item in the toolbar on the front end and in the admin.
Opens WPIDE on
Code
add_filter( 'aioseo_show_in_admin_bar', '__return_false' );
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.