gdtt_get_the_term_list

gdtt_get_the_term_list($id = 0, $taxonomy = 'category', $post_type = '', $before = '', $sep = '', $after = '')

  • $id: Post ID.
  • $taxonomy: Taxonomy name.
  • $post_type: Optional. Post type name.
  • $before: Optional. Before list.
  • $after: Optional. After list.

Retrieve a post’s terms as a list with specified format.

Function returns: string with rendered list.

Comments

Leave a Reply