WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about get_post_status

Back to home

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.