Ashley Cameron Design

Ashley Cameron Design

Shop the Creative Design Market

Goodnight

Remove ‘Comments’ Column from Manage Pages

SnippetsWordPress

About a 1 minute read

"There is one thing one has to have: either a soul that is cheerful by nature, or a soul made cheerful by work, love, art, and knowledge."

Friedrich Nietzsche


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;
} ?>