📅  最后修改于: 2022-03-11 14:54:33.731000             🧑  作者: Mango
代码示例1
$term_obj_list = get_the_terms( $post->ID, 'taxonomy' );
$terms_string = join(', ', wp_list_pluck($term_obj_list, 'name'));