public static list_post_statuses ( mixed $all = true, boolean $refresh = false ) : array | ||
$all | mixed | true to list all statuses, not just external ones, Post to list external and any that match the Post status |
$refresh | boolean | true to force a refresh of the cached values |
Результат | array | An array of post statuses names => integer values |