Clarify phpdoc for wp_set_object_terms(). Props simonwheatley. fixes #9348
git-svn-id: http://svn.automattic.com/wordpress/trunk@10963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0f43de45c5
commit
59ddc91736
|
@ -1407,7 +1407,8 @@ function wp_insert_term( $term, $taxonomy, $args = array() ) {
|
|||
* @uses $wpdb
|
||||
*
|
||||
* @param int $object_id The object to relate to.
|
||||
* @param array|int|string $term The slug or id of the term.
|
||||
* @param array|int|string $term The slug or id of the term, will replace all existing
|
||||
* related terms in this taxonomy.
|
||||
* @param array|string $taxonomy The context in which to relate the term to the object.
|
||||
* @param bool $append If false will delete difference of terms.
|
||||
* @return array|WP_Error Affected Term IDs
|
||||
|
|
Loading…
Reference in New Issue