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

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php aggiungo una custom taxonomy nella vista sommario di un custom type #backend #taxonomy #customta相关的知识,希望对你有一定的参考价值。

<?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;
}
?>

以上是关于php aggiungo una custom taxonomy nella vista sommario di un custom type #backend #taxonomy #customta的主要内容,如果未能解决你的问题,请参考以下文章