Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/post.php | apply_filters | 1178 | /** * Filters the post status. * * @since 4.4.0 * @since 5.7.0 The attachment post type is now passed through this filter. * * @param string $post_status The post status. * @param WP_Post $post The post object. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $post_status | The post status. |
WP_Post | $post | The post object. |