get_page_statuses()
最后更新于:2021-11-26 11:08:23
get_page_statuses()Retrieve all of the GeChiUI support page statuses.
响应
(string[]) Array of page status labels keyed by their status.
源文件
文件: gc-includes/post.php
function get_page_statuses() {
$status = array(
'draft' => __( 'Draft' ),
'private' => __( 'Private' ),
'publish' => __( 'Published' ),
);
return $status;
}