WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKPostStatus Class Reference

Static Public Member Functions

static statuses ()
 Readable post statuses apply_filters() calls wpdk-posts-statuses hook to allow overwriting the statuses list. More...
 

Data Fields

const AUTO_DRAFT = 'auto-draft'
 
const DRAFT = 'draft'
 
const FUTURE = 'future'
 
const INHERIT = 'inherit'
 
const PENDING = 'pending'
 
const PRIVATE_ = 'private'
 
const PUBLISH = 'publish'
 
const TRASH = 'trash'
 

Detailed Description

WordPress stan dard Post Status at 3.4 release

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2013-05-30
Version
1.0.0

Definition at line 737 of file wpdk-post.php.

Member Function Documentation

static statuses ( )
static

Readable post statuses apply_filters() calls wpdk-posts-statuses hook to allow overwriting the statuses list.

Return a readable and filtered key-value array with the list of status for a post.

Returns
mixed|void

Definition at line 758 of file wpdk-post.php.

Field Documentation

const AUTO_DRAFT = 'auto-draft'

Definition at line 738 of file wpdk-post.php.

const DRAFT = 'draft'

Definition at line 739 of file wpdk-post.php.

const FUTURE = 'future'

Definition at line 740 of file wpdk-post.php.

const INHERIT = 'inherit'

Definition at line 741 of file wpdk-post.php.

const PENDING = 'pending'

Definition at line 742 of file wpdk-post.php.

const PRIVATE_ = 'private'
Note
Sorry by PRIVATE is a php keyword so I have used PRIVATE_ instead

Definition at line 746 of file wpdk-post.php.

const PUBLISH = 'publish'

Definition at line 747 of file wpdk-post.php.

const TRASH = 'trash'

Definition at line 748 of file wpdk-post.php.


The documentation for this class was generated from the following file: