Skip to content

Instantly share code, notes, and snippets.

@robertpassaro
Created September 17, 2019 00:34
Show Gist options
  • Save robertpassaro/1ca69e77a503fbb9dc42f389d1fc547b to your computer and use it in GitHub Desktop.
Save robertpassaro/1ca69e77a503fbb9dc42f389d1fc547b to your computer and use it in GitHub Desktop.
function fq_remove_yoast_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['wpseo-score-readability'] );
return $columns;
}
add_filter ( 'manage_edit-post_columns', 'fq_remove_yoast_columns' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment