Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
remove Yoast SEO data from post column
<?php
function rkv_remove_columns( $columns ) {
// remove the Yoast SEO columns
unset( $columns['wpseo-score'] );
unset( $columns['wpseo-title'] );
unset( $columns['wpseo-metadesc'] );
unset( $columns['wpseo-focuskw'] );
return $columns;
}
add_filter ( 'manage_edit-post_columns', 'rkv_remove_columns' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment