get_page_uri


get_page_uri ( $page = 0 )

Parameters:
  • (WP_Post|object|int) $page Optional. Page ID or WP_Post object. Default is global $post.
Returns:
  • (string|false) Page URI, false on error.
Defined at:
Change Log:
  • 4: .

Description

Build the URI path for a page.

Sub pages will be in the "directory" under the parent page post name.

Related Functions

get_page_link, get_page, _get_page_link, get_pages, menu_page_url

Top Google Results

User discussions

wpseek mobile