Changeset 39893
- Timestamp:
- 01/12/2017 06:53:21 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r39639 r39893 2214 2214 * 2215 2215 * @param int $object_id The object to relate to. 2216 * @param array|int|string $terms A single term slug, single term id, or array of either term slugs or ids. 2217 * Will replace all existing related terms in this taxonomy. 2216 * @param string|int|array $terms A single term slug, single term id, or array of either term slugs or ids. 2217 * Will replace all existing related terms in this taxonomy. Passing an 2218 * empty value will remove all related terms. 2218 2219 * @param string $taxonomy The context in which to relate the term to the object. 2219 2220 * @param bool $append Optional. If false will delete difference of terms. Default false. … … 2342 2343 * 2343 2344 * @param int $object_id The ID of the object to which the terms will be added. 2344 * @param array|int|string$terms The slug(s) or ID(s) of the term(s) to add.2345 * @param string|int|array $terms The slug(s) or ID(s) of the term(s) to add. 2345 2346 * @param array|string $taxonomy Taxonomy name. 2346 2347 * @return array|WP_Error Term taxonomy IDs of the affected terms. … … 2358 2359 * 2359 2360 * @param int $object_id The ID of the object from which the terms will be removed. 2360 * @param array|int|string$terms The slug(s) or ID(s) of the term(s) to remove.2361 * @param string|int|array $terms The slug(s) or ID(s) of the term(s) to remove. 2361 2362 * @param array|string $taxonomy Taxonomy name. 2362 2363 * @return bool|WP_Error True on success, false or WP_Error on failure.
Note: See TracChangeset
for help on using the changeset viewer.