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: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Builds the URI path for a page.Sub pages will be in the "directory" under the parent page post name.