Skip to content

Instantly share code, notes, and snippets.

@urre
Created August 13, 2012 14:29
Show Gist options
  • Save urre/3341230 to your computer and use it in GitHub Desktop.
Save urre/3341230 to your computer and use it in GitHub Desktop.
Delete WP-SEO columns
<?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