mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 09:03:09 +01:00
Clarify phpdoc for wp_set_object_terms(). Props simonwheatley. fixes #9348
git-svn-id: https://develop.svn.wordpress.org/trunk@10963 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7f9bf59265
commit
587e0e979f
@ -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…
x
Reference in New Issue
Block a user