is_object_in_term Wordpress function


Description:

Determine if the given object is associated with any of the given terms.


Syntax:


Arguments:

(int) $object_id ID of the object (post ID, link ID, ...)
(string) $taxonomy Single taxonomy name
(int|string|array) $terms Optional. Term term_id, name, slug or array of said


Return Type:

(bool|WP_Error.) WP_Error on input error.


Define At:

wp-includes/taxonomy.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/is_object_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 ×