Changeset 11013 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 04/20/2009 06:18:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r10965 r11013 24 24 $wp_taxonomies['post_tag'] = (object) array('name' => 'post_tag', 'object_type' => 'post', 'hierarchical' => false, 'update_count_callback' => '_update_post_term_count', 'label' => __('Post Tags')); 25 25 $wp_taxonomies['link_category'] = (object) array('name' => 'link_category', 'object_type' => 'link', 'hierarchical' => false); 26 26 27 27 } 28 28 add_action( 'init', 'create_initial_taxonomies' ); … … 1079 1079 * The $args 'default' will only override the terms found, if there is only one 1080 1080 * term found. Any other and the found terms are used. 1081 * 1081 * 1082 1082 * The $args 'force_default' will force the term supplied as default to be 1083 1083 * assigned even if the object was not going to be termless … … 1414 1414 * 1415 1415 * @param int $object_id The object to relate to. 1416 * @param array|int|string $term The slug or id of the term, will replace all existing 1416 * @param array|int|string $term The slug or id of the term, will replace all existing 1417 1417 * related terms in this taxonomy. 1418 1418 * @param array|string $taxonomy The context in which to relate the term to the object.
Note: See TracChangeset
for help on using the changeset viewer.