Taxonomy terms with edit/filter link in wp-admin, in the list of custom posts
It doesn’t have it wrapped inside a function you can use, but the following will work: $taxonomy = ‘my-taxonomy’; $taxonomy_object = get_taxonomy( $taxonomy ); $object_type = get_post_type($post_id); if ( $terms = get_the_terms( $post_id, $taxonomy ) ) { $out = array(); foreach ( $terms as $t ) { $posts_in_term_qv = array(); $posts_in_term_qv[‘post_type’] = $object_type; if ( … Read more