axxe16
5/24/2017 - 12:03 PM

aggiungo una custom taxonomy nella vista sommario di un custom type #backend #taxonomy #customtax

aggiungo una custom taxonomy nella vista sommario di un custom type #backend #taxonomy #customtax

<?php
//aggiungo taxonomy tipi a presentazioni
//dove presentazioni è il nome del custom type
//e tag_presentazioni è il nome della custom taxonomy
add_filter( 'manage_taxonomies_for_presentazioni_columns', 'presentazioni_type_columns' );
function presentazioni_type_columns( $taxonomies ) {
    $taxonomies[] = 'tag_presentazioni';
    return $taxonomies;
}
?>