2020-05-01 / 2738阅 / 悠然
Retrieves all of the taxonomies that are registered for attachments.
Handles mime-type-specific taxonomies such as attachment:image and attachment:video.
Top ↑
(string)
(Optional)
The type of taxonomy output to return. Accepts 'names' or 'objects'.
Default value: 'names'
(string[]|WP_Taxonomy[]) Array of names or objects of registered taxonomies for attachments.