Return to Snippet

Revision: 39752
at January 20, 2011 11:53 by racl101

Initial Code
// call get_page_link($post->ID)
// where $post-is a WordPress variable and needs to be global if called from inside a function.

Initial URL

Initial Description
I got the answer to this question on WordPress Stack Exchange website:

Initial Title
How to obtain current page permalink url from a function on call on a page template and not from inside the Loop?

Initial Tags
php, wordpress

Initial Language