get_page Wordpress function


Description:

Retrieves page data given a page ID or page object.


Syntax:


Arguments:

(mixed) $page Page object or page ID. Passed by reference.
(string) $output What to output. OBJECT, ARRAY_A, or ARRAY_N.
(string) $filter How the return value should be filtered.


Return Type:

(WP_Post|null) WP_Post on success or null on failure


Define At:

wp-includes/post.php


Wordpress Reference URL:

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


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