Changeset 48314 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 07/05/2020 11:11:46 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r48214 r48314 2415 2415 do_action( "created_{$taxonomy}", $term_id, $tt_id ); 2416 2416 2417 /** 2418 * Fires after a term has been saved, and the term cache has been cleared. 2419 * 2420 * @since 5.5.0 2421 * 2422 * @param int $term_id Term ID. 2423 * @param int $tt_id Term taxonomy ID. 2424 * @param string $taxonomy Taxonomy slug. 2425 * @param bool $update Whether this is an existing term being updated. 2426 */ 2427 do_action( 'saved_term', $term_id, $tt_id, $taxonomy, false ); 2428 2429 /** 2430 * Fires after a term in a specific taxonomy has been saved, and the term 2431 * cache has been cleared. 2432 * 2433 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. 2434 * 2435 * @since 5.5.0 2436 * 2437 * @param int $term_id Term ID. 2438 * @param int $tt_id Term taxonomy ID. 2439 * @param bool $update Whether this is an existing term being updated. 2440 */ 2441 do_action( "saved_{$taxonomy}", $term_id, $tt_id, false ); 2442 2417 2443 return array( 2418 2444 'term_id' => $term_id, … … 3078 3104 */ 3079 3105 do_action( "edited_{$taxonomy}", $term_id, $tt_id ); 3106 3107 /** This action is documented in wp-includes/taxonomy.php */ 3108 do_action( 'saved_term', $term_id, $tt_id, $taxonomy, true ); 3109 3110 /** This action is documented in wp-includes/taxonomy.php */ 3111 do_action( "saved_{$taxonomy}", $term_id, $tt_id, true ); 3080 3112 3081 3113 return array(
Note: See TracChangeset
for help on using the changeset viewer.