Changeset 52067
- Timestamp:
- 11/09/2021 01:29:58 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r52062 r52067 5285 5285 * 5286 5286 * @since 2.3.0 5287 * 5288 * @param int $post_id Post ID. 5289 * @param WP_Post $post Post object. 5287 * @since 5.9.0 Added `$old_status` parameter. 5288 * 5289 * @param int $post_id Post ID. 5290 * @param WP_Post $post Post object. 5291 * @param string $old_status Old post status. 5290 5292 */ 5291 do_action( "{$new_status}_{$post->post_type}", $post->ID, $post );5293 do_action( "{$new_status}_{$post->post_type}", $post->ID, $post, $old_status ); 5292 5294 } 5293 5295
Note: See TracChangeset
for help on using the changeset viewer.