Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Remove Category column from the Posts list table in WordPress admin (edit.php)
* Customize columns on list table
* @access public
* @since 1.0
* @param array $columns An array of indexes that appear on the posts lists table
* @return array $columns The filtered array of table columns
function remove_admin_columns( $columns ) {
unset( $columns[ 'categories' ] );
return $columns;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment