WP_REST_Post_Statuses_Controller::check_read_permission

SummerySummery

Checks whether a given post status should be visible.

Syntax

WP_REST_Post_Statuses_Controller::check_read_permission( object $status )

ParametersParameters

$status

(object) (Required) Post status.

ReturnReturn

(bool) True if the post status is visible, otherwise false.

SourceSource

File: wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top