Last active
August 29, 2015 14:26
-
-
Save designbuildtest/24412c6b04f2b616cbac to your computer and use it in GitHub Desktop.
WordPress custom manage PAGES & CUSTOM POST TYPE views
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function dbt_custom_manage_columns( $columns ) { | |
| unset( $columns['author'] ); | |
| unset( $columns['date'] ); | |
| unset( $columns['comments'] ); | |
| return $columns; | |
| } | |
| add_filter( 'manage_edit-page_columns', 'dbt_custom_manage_columns' ); // Pages | |
| add_filter( 'manage_edit-cpt_columns', 'dbt_custom_manage_columns' ); // Custom Post Type - replace 'cpt' with your named CPT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment