| 263 | * get_post_statuses( ) - Retuns the possible user post status values |
| 264 | * |
| 265 | * Posts have a limited set of valid status values, this provides the |
| 266 | * post_status values and descriptions. |
| 267 | * |
| 268 | * @package WordPress |
| 269 | * @subpackage Post |
| 270 | * @since 2.4 |
| 271 | * |
| 272 | * @return array |
| 273 | */ |
| 274 | function get_post_statuses( ) { |
| 275 | $status = array( |
| 276 | 'draft' => 'Draft', |
| 277 | 'pending' => 'Pending Review', |
| 278 | 'private' => 'Private', |
| 279 | 'publish' => 'Published' |
| 280 | ); |
| 281 | |
| 282 | return $status; |
| 283 | } |
| 284 | |
| 285 | /** |
| 286 | * get_past_statuses( ) - Retuns the possible user page status values |
| 287 | * |
| 288 | * Pages have a limited set of valid status values, this provides the |
| 289 | * post_status values and descriptions. |
| 290 | * |
| 291 | * @package WordPress |
| 292 | * @subpackage Page |
| 293 | * @since 2.4 |
| 294 | * |
| 295 | * @return array |
| 296 | */ |
| 297 | function get_page_statuses( ) { |
| 298 | $status = array( |
| 299 | 'draft' => 'Draft', |
| 300 | 'private' => 'Private', |
| 301 | 'publish' => 'Published' |
| 302 | ); |
| 303 | |
| 304 | return $status; |
| 305 | } |
| 306 | |
| 307 | /** |