Add this code to the theme functions to remove columns containing all the Yoast SEO info:
To remove from POSTS
function pands_remove_post_columns( $columns ) {
// remove the Yoast SEO columns
unset( $columns['wpseo-score'] );
//unset( $columns['wpseo-title'] );
unset( $columns['wpseo-metadesc'] );
unset( $columns['wpseo-focuskw'] );
unset ( $columns['comments'] );
unset ( $columns['date'] );
return $columns;
}
add_filter ( 'manage_edit-post_columns', 'pands_remove_post_columns' );
To remove from PAGES
function pands_remove_page_columns( $columns ) {
// remove the Yoast SEO columns
unset( $columns['wpseo-score'] );
//unset( $columns['wpseo-title'] );
unset( $columns['wpseo-metadesc'] );
unset( $columns['wpseo-focuskw'] );
unset ( $columns['comments'] );
unset ( $columns['date'] );
return $columns;
}
add_filter ( 'manage_edit-page_columns', 'pands_remove_page_columns' );
And to clear the same columns from CPTs:
function pands_remove_cpt_columns( $columns ) {
unset($columns['wpseo-score']);
unset($columns['wpseo-title']);
unset($columns['wpseo-metadesc']);
unset($columns['wpseo-focuskw']);
return $columns;
}
add_filter( 'manage_edit-CPTNAME_columns', 'pands_remove_cpt_columns', 10, 1 );