Changeset 49790 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 12/10/2020 11:57:29 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r49789 r49790 2196 2196 * @type string $slug The term slug to use. Default empty string. 2197 2197 * } 2198 * @return array|WP_Error An array containing the `term_id` and `term_taxonomy_id`, 2199 * WP_Error otherwise. 2198 * @return array|WP_Error { 2199 * An array of the new term data, WP_Error otherwise. 2200 * 2201 * @type int $term_id The new term ID. 2202 * @type int|string $term_taxonomy_id The new term taxonomy ID. Can be a numeric string. 2203 * } 2200 2204 */ 2201 2205 function wp_insert_term( $term, $taxonomy, $args = array() ) { … … 3743 3747 * @global wpdb $wpdb WordPress database abstraction object. 3744 3748 * 3745 * @param array$terms List of term objects (passed by reference).3746 * @param string $taxonomy Term context.3749 * @param object[]|WP_Term[] $terms List of term objects (passed by reference). 3750 * @param string $taxonomy Term context. 3747 3751 */ 3748 3752 function _pad_term_counts( &$terms, $taxonomy ) {
Note: See TracChangeset
for help on using the changeset viewer.