Remove the All in One SEO Column From Admin Lists
Hides the AIOSEO details column (score, title and description) from post, page and custom post type lists.
Opens WPIDE on
Code
add_action( 'current_screen', function ( $screen ) {
if ( ! $screen || 'edit' !== $screen->base ) {
return;
}
add_filter( "manage_{$screen->id}_columns", function ( $columns ) {
unset( $columns['aioseo-details'] );
return $columns;
}, 100 );
} );
Notes
You can also hide it per user in Screen Options; this hides it for everyone.
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.