2020-05-01 / 2402阅 / 悠然
Retrieves all of the taxonomies that are registered for attachments.
Handles mime-type-specific taxonomies such as attachment:image and attachment:video.
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.