2020-05-01 / 4917阅 / 悠然
Retrieve the post status based>
If the post ID is of an attachment, then the parent post status will be given instead.
(int|WP_Post)
(Optional)
Post ID or post object. Defaults to global $post..
Default value: null
(string|false) Post status on success, false on failure.