Changeset 48314
- Timestamp:
- 07/05/2020 11:11:46 AM (4 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r48310 r48314 4208 4208 * @param int $post_ID Post ID. 4209 4209 * @param WP_Post $post Post object. 4210 * @param bool $update Whether this is an existing post being updated or not.4210 * @param bool $update Whether this is an existing post being updated. 4211 4211 */ 4212 4212 do_action( "save_post_{$post->post_type}", $post_ID, $post, $update ); … … 4219 4219 * @param int $post_ID Post ID. 4220 4220 * @param WP_Post $post Post object. 4221 * @param bool $update Whether this is an existing post being updated or not.4221 * @param bool $update Whether this is an existing post being updated. 4222 4222 */ 4223 4223 do_action( 'save_post', $post_ID, $post, $update ); … … 4230 4230 * @param int $post_ID Post ID. 4231 4231 * @param WP_Post $post Post object. 4232 * @param bool $update Whether this is an existing post being updated or not.4232 * @param bool $update Whether this is an existing post being updated. 4233 4233 */ 4234 4234 do_action( 'wp_insert_post', $post_ID, $post, $update ); -
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.