get_objects_in_term Wordpress function


Description:

Retrieve object_ids of valid taxonomy and term.


Syntax:


Arguments:

(int|array) $term_ids Term id or array of term ids of terms that will be used
(string|array) $taxonomies String of taxonomy name or Array of string values of taxonomy names
(array|string) $args Change the order of the object_ids, either ASC or DESC


Return Type:

(WP_Error|array) If the taxonomy does not exist, then WP_Error will be returned. On success the array can be empty meaning that there are no $object_ids found or it will return the $object_ids found.


Define At:

wp-includes/taxonomy.php


Wordpress Reference URL:

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


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