function &get_page(&$page, $output = OBJECT, $filter = 'raw') {}

Retrieves page data given a page ID or page object.


  • 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.
  • &$page

Return values

returns:Page data.

Source code

function &get_page(&$page, $output = OBJECT, $filter = 'raw') {

	$p = get_post($page, $output, $filter);

	return $p;



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: