get_post_status [ WordPress Function ]
| Parameters: |
|
| Returns: |
|
| Defined at: |
Examples [ wp-snippets.com ]
Top Google Search Results
- Function Reference/get post status « WordPress Codex
Description. Retrieve the post status based on the Post ID. If the post ID is of an attachment, then the parent post status will be given instead.
codex.wordpress.org - get_post_status | A HitchHackers guide through WordPress
Feb 12, 2011 ... function get_post_status($ID = '') { $post = get_post($ID); ... $post->post_parent ) ) return get_post_status($post->post_parent); } return ...
hitchhackerguide.com - PHPXRef 0.7 : WordPress : Function Reference: get_post_status()
get_post_status(). Defined at: /wp-includes/post.php -> line 554. Referenced 7 times: /wp-includes/query.php -> line 2657 · /wp-comments-post.php -> line 30 ...
phpxref.ftwr.co.uk - post status - Why does get_post_status display published when ...
Is there a reason why using get_post_status() on an attachment page returns ' published' when the media item is actually in the trash? I'm trying ...
wordpress.stackexchange.com