Changeset 19975 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 02/21/2012 08:20:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r19930 r19975 1863 1863 * @param string|array $taxonomies The taxonomies to retrieve terms from. 1864 1864 * @param array|string $args Change what is returned 1865 * @return array|WP_Error The requested term data or empty array if no terms found. WP_Error if $taxonomy does not exist.1865 * @return array|WP_Error The requested term data or empty array if no terms found. WP_Error if any of the $taxonomies don't exist. 1866 1866 */ 1867 1867 function wp_get_object_terms($object_ids, $taxonomies, $args = array()) { 1868 1868 global $wpdb; 1869 1870 if ( empty( $object_ids ) || empty( $taxonomies ) ) 1871 return array(); 1869 1872 1870 1873 if ( !is_array($taxonomies) )
Note: See TracChangeset
for help on using the changeset viewer.