get_the_term_list


get_the_term_list ( $id, $taxonomy, $before = '', $sep = '', $after = '' )

Parameters:
  • (int) $id Post ID.
  • (string) $taxonomy Taxonomy name.
  • (string) $before Optional. Before list.
  • (string) $sep Optional. Separate items using this.
  • (string) $after Optional. After list.
Returns:
  • (string|false|WP_Error) A list of terms on success, false if there are no terms, WP_Error on failure.
Defined at:

Description

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

Related Functions

get_the_terms, get_the_tag_list, get_the_category_list, get_the_permalink, get_edit_term_link

Top Google Results

User discussions

wpseek mobile