wp_get_single_post Wordpress function


Description:

Retrieve a single post, based on post ID.


Syntax:


Arguments:

(int) $postid Post ID.
(string) $mode How to return result, either OBJECT, ARRAY_N, or ARRAY_A.


Return Type:

(object|array) Post object or array holding post contents and information


Define At:

wp-includes/deprecated.php


Wordpress Reference URL:

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


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