get_available_post_statuses [ WordPress Function ]
get_available_post_statuses ( $type = 'post' )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: get_available_post_mime_types, get_post_statuses, get_available_languages, get_post_status, get_blog_status
Get all the possible statuses for a post_type
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- get_available_post_statuses() WordPress function reference ...
Get all the possible statuses for a post_type. Signature. get_available_post_statuses( $type = 'post' ). type: (string) The post_type you want the statuses for ...
queryposts.com - Docs for page post.php
array get_available_post_statuses ([string $type = 'post']). string $type: The post_type you want the statuses for. get_default_page_to_edit (line 459) ...
phpdoc.wordpress.org - wp_edit_posts_query (WordPress Function) - WPSeek.com
else $post_type = 'post'; $avail_post_stati = get_available_post_statuses($ post_type); if ( isset($q['post_status']) && in_array( $q['post_status'], $post_stati ) ) { ...
wpseek.com - post.php - Automattic - automattic svn
... for the supplied post type */ function get_available_post_statuses($type = 'post' ) { $stati = wp_count_posts($type); return array_keys(get_object_vars($stati)); } ...
svn.automattic.com