marko krstić

Collections

Archives

Add Taxonomy to Admin columns

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

Let's Connect

Feel free to reach out for collaborations or just a friendly hello 😀
mailme@markokrstic.com
linkedininstagramdribbblefacebook-official