A WordPress-centric search engine for devs and theme authors



get_post_status ›

Since4.4.0
Deprecatedn/a
apply_filters( 'get_post_status', $post->post_status, $post )
Parameters: (2)
  • (string) $post_status The post status.
    Required: Yes
  • (WP_Post) $post The post object.
    Required: Yes
Defined at:
Codex:

Filters the post status.





Source

return apply_filters( 'get_post_status', $post->post_status, $post );