gdtt_the_terms

gdtt_the_terms($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.
  • $sep: Optional. Separate items using this.
  • $after: Optional. After list.

Display the terms in a list for taxonomy with optional post type set.

Function returns: null|bool False on WordPress error. Returns null when displaying.

Comments

Leave a Reply