wp_get_object_terms Wordpress function


Description:

Retrieves the terms associated with the given object(s), in the supplied taxonomies.


Syntax:


Arguments:

(int|array) $object_ids The ID(s) of the object(s) to retrieve.
(string|array) $taxonomies The taxonomies to retrieve terms from.
(array|string) $args Change what is returned


Return Type:

(array|WP_Error) The requested term data or empty array if no terms found. WP_Error if any of the $taxonomies don't exist.


Define At:

wp-includes/taxonomy.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_get_object_terms


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×