get_objects_in_term Wordpress function


Retrieve object_ids of valid taxonomy and term.



(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:


Wordpress Reference URL:

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