IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
4010 | 4010 | * transitioned to a status, use the {@see 'transition_post_status'} hook instead. |
4011 | 4011 | * |
4012 | 4012 | * @since 2.3.0 |
| 4013 | * @since 4.5.0 The `$old_status` parameter was added. |
4013 | 4014 | * |
4014 | 4015 | * @param int $post_id Post ID. |
4015 | 4016 | * @param WP_Post $post Post object. |
| 4017 | * @param string $old_status Old post status. |
4016 | 4018 | */ |
4017 | | do_action( "{$new_status}_{$post->post_type}", $post->ID, $post ); |
| 4019 | do_action( "{$new_status}_{$post->post_type}", $post->ID, $post, $old_status ); |
4018 | 4020 | } |
4019 | 4021 | |
4020 | 4022 | // |