WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In a previous question I asked how to add a column to the Posts page in the Administration section, and got a working answer. But now I need to know how to delete an existing column (e.g. the Date column) so that my customized Date column replaces it.

share|improve this question
up vote 17 down vote accepted
function my_manage_columns( $columns ) {
  return $columns;

function my_column_init() {
  add_filter( 'manage_posts_columns' , 'my_manage_columns' );
add_action( 'admin_init' , 'my_column_init' );
share|improve this answer

On a different fields it is also possible you deactivate the function of WP; as example comments and author:

add_action( 'admin_init', 'fb_deactivate_support' );
function fb_deactivate_support() {
    remove_post_type_support( 'post', 'comments' );
    remove_post_type_support( 'post', 'author' );

the post-string is for the post_type, you can also use this for all post types via:

foreach ( get_post_types() as $post_type ) {
    remove_post_type_support( $post_type, 'comments' );

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.