Changeset 28951 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 07/02/2014 01:27:07 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/taxonomy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r28902 r28951 2618 2618 * @uses wp_remove_object_terms() 2619 2619 * 2620 * @param int $object_id The object to relate to.2621 * @param array|int|string $terms The slug or id of the term, will replace all existing2622 * related terms in this taxonomy.2623 * @param array|string $taxonomyThe context in which to relate the term to the object.2624 * @param bool $appendIf false will delete difference of terms.2625 * @return array|WP_Error Affected Term IDs 2626 */ 2627 function wp_set_object_terms( $object_id, $terms, $taxonomy, $append = false) {2620 * @param int $object_id The object to relate to. 2621 * @param array|int|string $terms A single term slug, single term id, or array of either term slugs or ids. 2622 * Will replace all existing related terms in this taxonomy. 2623 * @param array|string $taxonomy The context in which to relate the term to the object. 2624 * @param bool $append If false will delete difference of terms. 2625 * @return array|WP_Error Affected Term IDs. 2626 */ 2627 function wp_set_object_terms( $object_id, $terms, $taxonomy, $append = false ) { 2628 2628 global $wpdb; 2629 2629
Note: See TracChangeset
for help on using the changeset viewer.