get_permalink Wordpress function


Description:

Retrieve full permalink for current post or post ID.


Syntax:


Arguments:

(int) $id Optional. Post ID.
(bool) $leavename Optional, defaults to false. Whether to keep post name or page name.


Return Type:

(string)


Define At:

wp-includes/link-template.php


Wordpress Reference URL:

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


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