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

Builds the URI path for a page.Sub pages will be in the "directory" under the parent page post name.

Related Functions

get_page, get_page_link, _get_page_link, get_pages, menu_page_url

Top Google Results

User discussions

wpseek mobile