Say "Hello!"

  • This field is for validation purposes and should be left unchanged.

Remove ‘Comments’ Column from Manage Pages

Web Hosting at Bluehost Affiliate Disclosure

1
2
3
4
5
6
7
8
<?php
//Remove ‘comments’ Column from Manage Pages
add_filter('manage_pages_columns', 'custom_pages_columns');

function custom_pages_columns($defaults) {
    unset($defaults['comments']);
    return $defaults;
} ?>

Back to Snippets Follow me on GitHub

Ashley Cameron logo
Blog