Changeset 36712
- Timestamp:
- 02/25/2016 09:24:10 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r36709 r36712 157 157 158 158 /** 159 * Return all of the taxonomy names that are of $object_type. 160 * 161 * It appears that this function can be used to find all of the names inside of 162 * $wp_taxonomies global variable. 163 * 164 * `$taxonomies = get_object_taxonomies( 'post' )` Should 165 * result in `Array( 'category', 'post_tag' )` 159 * Return the names or objects of the taxonomies which are registered for the requested object or object type, such as 160 * a post object or post type name. 161 * 162 * Example: 163 * 164 * $taxonomies = get_object_taxonomies( 'post' ); 165 * 166 * This results in: 167 * 168 * Array( 'category', 'post_tag' ) 166 169 * 167 170 * @since 2.3.0
Note: See TracChangeset
for help on using the changeset viewer.