Changeset 42871 for trunk/src/wp-includes/media.php
- Timestamp:
- 03/22/2018 08:26:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r42837 r42871 2900 2900 2901 2901 /** 2902 * Retrieves all of the taxonom y names that are registered for attachments.2902 * Retrieves all of the taxonomies that are registered for attachments. 2903 2903 * 2904 2904 * Handles mime-type-specific taxonomies such as attachment:image and attachment:video. 2905 2905 * 2906 2906 * @since 3.5.0 2907 *2908 2907 * @see get_taxonomies() 2909 2908 * 2910 2909 * @param string $output Optional. The type of taxonomy output to return. Accepts 'names' or 'objects'. 2911 2910 * Default 'names'. 2912 * @return array The names of all taxonomy of $object_type.2911 * @return string[]|WP_Taxonomy[] Array of names or objects of registered taxonomies for attachments. 2913 2912 */ 2914 2913 function get_taxonomies_for_attachments( $output = 'names' ) {
Note: See TracChangeset
for help on using the changeset viewer.