Home / admin / Remove post columns
  • How to Remove post columns

    no thumbnail sorry: Remove post columns

    Adding this PHP code to the functions.php of your wordpress theme will allow you to remove columns from the posts page.

    wordpress snippet : PHP

    <>
    function remove_post_columns($defaults) {
      unset($defaults['comments']);
      return $defaults;
    }
    add_filter('manage_posts_columns', 'remove_post_columns');
    

    ( WordPress codex functions, hooks, in this snippet. )

    manage_posts_columns, add_filter,