get_page_link Wordpress function


Description:

Retrieve the permalink for current page or page ID.


Syntax:


Arguments:

(mixed) $post Optional. Post ID or object.
(bool) $leavename Optional, defaults to false. Whether to keep page name.
(bool) $sample Optional, defaults to false. Is it a sample permalink.


Return Type:

(string)


Define At:

wp-includes/link-template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_page_link


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×