Changeset 54266
- Timestamp:
- 09/20/2022 06:51:49 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r53944 r54266 2348 2348 * @param string|WP_Error $term The term name to add, or a WP_Error object if there's an error. 2349 2349 * @param string $taxonomy Taxonomy slug. 2350 * @param array|string $args Array or query string of arguments for inserting a term.2350 * @param array|string $args Array or query string of arguments passed to wp_insert_term(). 2351 2351 */ 2352 2352 $term = apply_filters( 'pre_insert_term', $term, $taxonomy, $args ); … … 2548 2548 * @param string $term Term being inserted. 2549 2549 * @param string $taxonomy Taxonomy name. 2550 * @param array $args Term arguments passed to the function.2550 * @param array $args Arguments passed to wp_insert_term(). 2551 2551 * @param int $tt_id term_taxonomy_id for the newly created term. 2552 2552 */ … … 2579 2579 * @param int $tt_id Term taxonomy ID. 2580 2580 * @param string $taxonomy Taxonomy slug. 2581 * @param array $args Term arguments passed to the function.2581 * @param array $args Arguments passed to wp_insert_term(). 2582 2582 */ 2583 2583 do_action( 'create_term', $term_id, $tt_id, $taxonomy, $args ); … … 2599 2599 * @param int $term_id Term ID. 2600 2600 * @param int $tt_id Term taxonomy ID. 2601 * @param array $args Term arguments passed to the function.2601 * @param array $args Arguments passed to wp_insert_term(). 2602 2602 */ 2603 2603 do_action( "create_{$taxonomy}", $term_id, $tt_id, $args ); … … 2611 2611 * @param int $term_id Term ID. 2612 2612 * @param int $tt_id Term taxonomy ID. 2613 * @param array $args Term arguments passed to the function.2613 * @param array $args Arguments passed to wp_insert_term(). 2614 2614 */ 2615 2615 $term_id = apply_filters( 'term_id_filter', $term_id, $tt_id, $args ); … … 2629 2629 * @param int $tt_id Term taxonomy ID. 2630 2630 * @param string $taxonomy Taxonomy slug. 2631 * @param array $args Term arguments passed to the function.2631 * @param array $args Arguments passed to wp_insert_term(). 2632 2632 */ 2633 2633 do_action( 'created_term', $term_id, $tt_id, $taxonomy, $args ); … … 2649 2649 * @param int $term_id Term ID. 2650 2650 * @param int $tt_id Term taxonomy ID. 2651 * @param array $args Term arguments passed to the function.2651 * @param array $args Arguments passed to wp_insert_term(). 2652 2652 */ 2653 2653 do_action( "created_{$taxonomy}", $term_id, $tt_id, $args ); … … 2666 2666 * @param string $taxonomy Taxonomy slug. 2667 2667 * @param bool $update Whether this is an existing term being updated. 2668 * @param array $args Term arguments passed to the function.2668 * @param array $args Arguments passed to wp_insert_term(). 2669 2669 */ 2670 2670 do_action( 'saved_term', $term_id, $tt_id, $taxonomy, false, $args ); … … 2687 2687 * @param int $tt_id Term taxonomy ID. 2688 2688 * @param bool $update Whether this is an existing term being updated. 2689 * @param array $args Term arguments passed to the function.2689 * @param array $args Arguments passed to wp_insert_term(). 2690 2690 */ 2691 2691 do_action( "saved_{$taxonomy}", $term_id, $tt_id, false, $args ); … … 3219 3219 * @param string $taxonomy Taxonomy slug. 3220 3220 * @param array $parsed_args An array of potentially altered update arguments for the given term. 3221 * @param array $args A n array of update arguments for the given term.3221 * @param array $args Arguments passed to wp_update_term(). 3222 3222 */ 3223 3223 $parent = (int) apply_filters( 'wp_update_term_parent', $args['parent'], $term_id, $taxonomy, $parsed_args, $args );
Note: See TracChangeset
for help on using the changeset viewer.