get_post_stati Wordpress function


Description:

Get a list of all registered post status objects.


Syntax:


Arguments:

(array|string) $args An array of key => value arguments to match against the post status objects.
(string) $output The type of output to return, either post status 'names' or 'objects'. 'names' is the default.
(string) $operator The logical operation to perform. 'or' means only one element from the array needs to match; 'and' means all elements must match. The default is 'and'.


Return Type:

(array) A list of post status names or objects


Define At:

wp-includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_post_stati


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×