Changeset 27262 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 02/25/2014 05:13:08 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r27186 r27262 124 124 * Get a list of registered taxonomy objects. 125 125 * 126 * @package WordPress127 * @subpackage Taxonomy128 126 * @since 3.0.0 129 127 * @uses $wp_taxonomies … … 153 151 * result in <code>Array('category', 'post_tag')</code> 154 152 * 155 * @package WordPress156 * @subpackage Taxonomy157 153 * @since 2.3.0 158 154 * … … 193 189 * is a taxonomy object and if it is, it will return it. 194 190 * 195 * @package WordPress196 * @subpackage Taxonomy197 191 * @since 2.3.0 198 192 * … … 217 211 * Formerly is_taxonomy(), introduced in 2.3.0. 218 212 * 219 * @package WordPress220 * @subpackage Taxonomy221 213 * @since 3.0.0 222 214 * … … 240 232 * A false return value might also mean that the taxonomy does not exist. 241 233 * 242 * @package WordPress243 * @subpackage Taxonomy244 234 * @since 2.3.0 245 235 * … … 489 479 * Add an already registered taxonomy to an object type. 490 480 * 491 * @package WordPress492 * @subpackage Taxonomy493 481 * @since 3.0.0 494 482 * @uses $wp_taxonomies Modifies taxonomy object … … 558 546 * either ASC or DESC array. The value should be in the key named 'order'. 559 547 * 560 * @package WordPress561 * @subpackage Taxonomy562 548 * @since 2.3.0 563 549 * … … 919 905 * for custom taxonomies or plugging into default taxonomies. 920 906 * 921 * @package WordPress922 * @subpackage Taxonomy923 907 * @since 2.3.0 924 908 * … … 992 976 * and $field and $value combinations exist, the Term will be returned. 993 977 * 994 * @package WordPress995 * @subpackage Taxonomy996 978 * @since 2.3.0 997 979 * … … 1061 1043 * Will return an empty array if $term does not exist in $taxonomy. 1062 1044 * 1063 * @package WordPress1064 * @subpackage Taxonomy1065 1045 * @since 2.3.0 1066 1046 * … … 1101 1081 * information. 1102 1082 * 1103 * @package WordPress1104 * @subpackage Taxonomy1105 1083 * @since 2.3.0 1106 1084 * … … 1134 1112 * editing. Function is for contextual and simplicity. 1135 1113 * 1136 * @package WordPress1137 * @subpackage Taxonomy1138 1114 * @since 2.3.0 1139 1115 * … … 1245 1221 * the cache for similar queries. Default value is 'core'. 1246 1222 * 1247 * @package WordPress1248 * @subpackage Taxonomy1249 1223 * @since 2.3.0 1250 1224 * … … 1552 1526 * Formerly is_term(), introduced in 2.3.0. 1553 1527 * 1554 * @package WordPress1555 * @subpackage Taxonomy1556 1528 * @since 3.0.0 1557 1529 * … … 1648 1620 * The $term is expected to be either an array or an object. 1649 1621 * 1650 * @package WordPress1651 * @subpackage Taxonomy1652 1622 * @since 2.3.0 1653 1623 * … … 1698 1668 * hooks into the filter you need. 1699 1669 * 1700 * @package WordPress1701 * @subpackage Taxonomy1702 1670 * @since 2.3.0 1703 1671 * … … 1758 1726 * Default $args is 'hide_empty' which can be 'hide_empty=true' or array('hide_empty' => true). 1759 1727 * 1760 * @package WordPress1761 * @subpackage Taxonomy1762 1728 * @since 2.3.0 1763 1729 * … … 1791 1757 * taxonomy itself. 1792 1758 * 1793 * @package WordPress1794 * @subpackage Taxonomy1795 1759 * @since 2.3.0 1796 1760 * @uses wp_remove_object_terms() … … 1823 1787 * The $args 'force_default' will force the term supplied as default to be 1824 1788 * assigned even if the object was not going to be termless 1825 * @package WordPress 1826 * @subpackage Taxonomy 1789 * 1827 1790 * @since 2.3.0 1828 1791 * … … 1954 1917 * array of all matching term ids or term names will be returned respectively. 1955 1918 * 1956 * @package WordPress1957 * @subpackage Taxonomy1958 1919 * @since 2.3.0 1959 1920 * @uses $wpdb … … 2242 2203 * exists under. 2243 2204 * 2244 * @package WordPress2245 * @subpackage Taxonomy2246 2205 * @since 2.3.0 2247 2206 * @uses wp_remove_object_terms() … … 2338 2297 * Add term(s) associated with a given object. 2339 2298 * 2340 * @package WordPress2341 * @subpackage Taxonomy2342 2299 * @since 3.6.0 2343 2300 * @uses wp_set_object_terms() … … 2355 2312 * Remove term(s) associated with a given object. 2356 2313 * 2357 * @package WordPress2358 * @subpackage Taxonomy2359 2314 * @since 3.6.0 2360 2315 * @uses $wpdb … … 2430 2385 * The only purpose for $term is for appending a parent, if one exists. 2431 2386 * 2432 * @package WordPress2433 * @subpackage Taxonomy2434 2387 * @since 2.3.0 2435 2388 * @uses $wpdb … … 2503 2456 * away from the term keys. 2504 2457 * 2505 * @package WordPress2506 * @subpackage Taxonomy2507 2458 * @since 2.3.0 2508 2459 * … … 2644 2595 * of term ID. Once that is done, then update the database. 2645 2596 * 2646 * @package WordPress2647 * @subpackage Taxonomy2648 2597 * @since 2.3.0 2649 2598 * @uses $wpdb … … 2728 2677 * take place. 2729 2678 * 2730 * @package WordPress2731 * @subpackage Taxonomy2732 2679 * @since 2.3.0 2733 2680 * … … 2757 2704 * Will remove all of the term ids from the cache. 2758 2705 * 2759 * @package WordPress2760 * @subpackage Taxonomy2761 2706 * @since 2.3.0 2762 2707 * @uses $wpdb … … 2812 2757 * Retrieves the taxonomy relationship to the term object id. 2813 2758 * 2814 * @package WordPress2815 * @subpackage Taxonomy2816 2759 * @since 2.3.0 2817 2760 * … … 2840 2783 * for each term and it also increases for each taxonomy the term belongs to. 2841 2784 * 2842 * @package WordPress2843 * @subpackage Taxonomy2844 2785 * @since 2.3.0 2845 2786 * @uses wp_get_object_terms() Used to get terms from the database to update … … 2899 2840 * Updates Terms to Taxonomy in cache. 2900 2841 * 2901 * @package WordPress2902 * @subpackage Taxonomy2903 2842 * @since 2.3.0 2904 2843 * … … 2923 2862 * Retrieves children of taxonomy as Term IDs. 2924 2863 * 2925 * @package WordPress2926 * @subpackage Taxonomy2927 2864 * @access private 2928 2865 * @since 2.3.0 … … 2958 2895 * If $terms is an array of IDs, then _get_term_children returns an array of IDs. 2959 2896 * 2960 * @package WordPress2961 * @subpackage Taxonomy2962 2897 * @access private 2963 2898 * @since 2.3.0 … … 3029 2964 * relevant children are already in the $terms argument. 3030 2965 * 3031 * @package WordPress3032 * @subpackage Taxonomy3033 2966 * @access private 3034 2967 * @since 2.3.0 … … 3095 3028 * taxonomies. 3096 3029 * 3097 * @package WordPress3098 * @subpackage Taxonomy3099 3030 * @access private 3100 3031 * @since 2.3.0 … … 3143 3074 * Default callback for the link_category taxonomy. 3144 3075 * 3145 * @package WordPress3146 * @subpackage Taxonomy3147 3076 * @since 3.3.0 3148 3077 * @uses $wpdb
Note: See TracChangeset
for help on using the changeset viewer.