get_taxonomies_for_attachments( string $output = 'names' )

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


25 related functions found for: get_taxonomies_for_attachments

Top ↑

Related terms found for this post

TaxonomyTerms
wp-parser-related-wordsattach, attachment, attachments, get, media-php, post-typ, post-type, taxonomi, taxonomies, taxonomy, wp-includes
wp-parser-packageMedia, WordPress
wp-parser-source-filewp-includes/media.php

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • attach
  • attachment
  • attachments
  • get
  • Media
  • media-php
  • post-typ
  • post-type
  • taxonomi
  • taxonomies
  • taxonomy
  • wp-includes
  • wp-includes/media.php
  • media

Top ↑

Description Description

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


Top ↑

Parameters Parameters

$output

(string) (Optional) The type of taxonomy output to return. Accepts 'names' or 'objects'.

Default value: 'names'


Top ↑

Return Return

(array) The names of all taxonomy of $object_type.


Top ↑

Source Source

File: wp-includes/media.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.