Advertisements

get_page

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

Retrieves page data given a page ID or page object.

Parameters

  • 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;

}

1522

Advertisements

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:

WordPress.com Logo

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

Google+ photo

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

Twitter picture

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

Facebook photo

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

Connecting to %s

%d bloggers like this: