Changeset 43535 for trunk/src/wp-includes/post.php
- Timestamp:
- 07/25/2018 08:56:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r43520 r43535 3800 3800 * Fires once an existing post has been updated. 3801 3801 * 3802 * The dynamic portion of the hook name, `$post->post_type`, refers to 3803 * the post type slug. 3804 * 3805 * @since 5.0.0 3806 * 3807 * @param int $post_ID Post ID. 3808 * @param WP_Post $post Post object. 3809 */ 3810 do_action( "edit_post_{$post->post_type}", $post_ID, $post ); 3811 3812 /** 3813 * Fires once an existing post has been updated. 3814 * 3802 3815 * @since 1.2.0 3803 3816 * … … 3806 3819 */ 3807 3820 do_action( 'edit_post', $post_ID, $post ); 3821 3808 3822 $post_after = get_post( $post_ID ); 3809 3823 … … 3950 3964 $post->post_status = 'publish'; 3951 3965 wp_transition_post_status( 'publish', $old_status, $post ); 3966 3967 /** This action is documented in wp-includes/post.php */ 3968 do_action( "edit_post_{$post->post_type}", $post->ID, $post ); 3952 3969 3953 3970 /** This action is documented in wp-includes/post.php */
Note: See TracChangeset
for help on using the changeset viewer.