Ashley Cameron Design

Ashley Cameron Design

Shop the Creative Design Market

Good morning

Remove ‘Comments’ Column from Manage Pages

SnippetsWordPress

About a 1 minute read

"Design is a formal response to a strategic question."

Mariona Lopez, business owner


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