Created
August 13, 2012 14:29
-
-
Save urre/3341230 to your computer and use it in GitHub Desktop.
Delete WP-SEO columns
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
<?php | |
function my_columns_filter( $columns ) { | |
unset($columns['wpseo-focuskw']); | |
unset($columns['wpseo-metadesc']); | |
unset($columns['wpseo-score']); | |
unset($columns['wpseo-title']); | |
return $columns; | |
} | |
add_filter( 'manage_edit-erbjudande_columns', 'my_columns_filter', 10, 1 ); | |
add_filter( 'manage_edit-aktivitet_columns', 'my_columns_filter', 10, 1 ); | |
add_filter( 'manage_edit-puffar_columns', 'my_columns_filter', 10, 1 ); | |
add_filter( 'manage_edit-wpsc-product_columns', 'my_columns_filter', 10, 1 ); | |
add_filter( 'manage_edit-page_columns', 'my_columns_filter', 10, 1 ); | |
add_filter( 'manage_edit-nyhet_columns', 'my_columns_filter', 10, 1 ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment