On this page
apply_filters( 'get_post_status', string $post_status, WP_Post $post )
Filters the post status.
Parameters
$post_statusstring-
The post status.
$postWP_Post-
The post object.
Source
File: wp-includes/post.php. View all references
return apply_filters( 'get_post_status', $post_status, $post );
Related
Used By
| Used By | Description |
|---|---|
| get_post_status() wp-includes/post.php | Retrieves the post status based on the post ID. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_post_status