get_tags


get_tags ( $args = '' )

Parameters:
  • (string|array) args { Optional. Arguments to retrieve tags. See get_terms() for additional options. @type string $taxonomy Taxonomy to retrieve terms for. Default 'post_tag'. }
Returns:
  • (WP_Term[]|int|WP_Error) Array of 'post_tag' term objects, a count thereof, or WP_Error if any of the taxonomies do not exist.
Defined at:

Description

Retrieves all post tags.

Related Functions

get_tag, get_pages, get_the_tags, get_page, the_tags

Top Google Results

User discussions

wpseek mobile