Created
September 17, 2019 00:34
-
-
Save robertpassaro/1ca69e77a503fbb9dc42f389d1fc547b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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