get_taxonomies_for_attachments


get_taxonomies_for_attachments ( $output = 'names' )

Parameters:
  • (string) $output Optional. The type of taxonomy output to return. Accepts 'names' or 'objects'. Default 'names'.
See:
Returns:
  • (array) The names of all taxonomy of $object_type.
Defined at:

Description

Retrieves all of the taxonomy names that are registered for attachments.

Handles mime-type-specific taxonomies such as attachment:image and attachment:video.

Related Functions

get_taxonomies, get_the_attachment_link, wp_ajax_query_attachments, get_taxonomy_labels, is_local_attachment

Top Google Results

User discussions

wpseek mobile