get_postdata [ WordPress Function ]
get_postdata ( $postid )
| Parameters: |
|
| See: |
|
| Returns: |
|
| Defined at: |
|
Entire Post data.
Source
<?php
function get_postdata($postid) {
_deprecated_function( __FUNCTION__, '1.5.1', 'get_post()' );
$post = &get_post($postid);
$postdata = array (
'ID' => $post->ID,
'Author_ID' => $post->post_author,
'Date' => $post->post_date,
'Content' => $post->post_content,
'Excerpt' => $post->post_excerpt,
'Title' => $post->post_title,
'Category' => $post->post_category,
'post_status' => $post->post_status,
'comment_status' => $post->comment_status,
'ping_status' => $post->ping_status,
'post_password' => $post->post_password,
'to_ping' => $post->to_ping,
'pinged' => $post->pinged,
'post_type' => $post->post_type,
'post_name' => $post->post_name
);
return $postdata;
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- get_postdata | A HitchHackers guide through WordPress
Feb 12, 2011 ... function get_postdata($postid) { _deprecated_function( __FUNCTION__, '1.5.1', ' get_post()' ); $post = &get_post($postid); $postdata = array ...
hitchhackerguide.com - PHPXRef 0.7 : WordPress : Function Reference: get_postdata()
Function and Method Cross Reference. get_postdata(). Defined at: /wp-includes/ deprecated.php -> line 15. No references found.
phpxref.ftwr.co.uk - get_postdata (WordPress Function) - WPSeek.com
WordPress lookup for get_postdata, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - Request
java.util.Map<java.lang.String,java.lang.String>, getHeaders(). java.lang.String, getPassword(). byte[], getPostData() ... getPostData. public byte[] getPostData() ...
docs.jboss.org