Skip to content

Instantly share code, notes, and snippets.

@norcross
Last active April 7, 2017 10:07
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save norcross/6157433 to your computer and use it in GitHub Desktop.
Save norcross/6157433 to your computer and use it in GitHub Desktop.
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