Add Taxonomy to Admin columns

Marko Krstić
19 Dec 2020

Add this to your functions.php and replace CPT_slug and taxonomy_slug

<? php
=            Manage Admin Columns            =
add_filter( 'manage_taxonomies_for_{CPT_slug}_columns', 'docs_columns' );
function docs_columns( $taxonomies ) {
    $taxonomies[] = '{taxonomy_slug}';
    return $taxonomies;

Red is added added column

Was this article helpful?



Never miss new post again

Subscribe and get list of new posts in your inbox

Click to Copy