get_post_status

get_post_status

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('get_post_status') is found 1 times:

  • /wp-includes/post.php line 1283
    	 *
    	 * @param string  $post_status The post status.
    	 * @param WP_Post $post        The post object.
    	 */
    	return apply_filters( 'get_post_status', $post_status, $post );
    }
    
    /**
     * Retrieves all of the WordPress supported post statuses.
     *
     * Posts have a limited set of valid status values, this provides the