Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




the_guid [ WordPress Function ]

the_guid ( $id = 0 )
Parameters:
  • (int) $id Optional. Post ID.
Defined at:



Display the Post Global Unique Identifier (guid).

The guid will appear to be a link, but should not be used as an link to the post. The reason you should not use it as a link, is because of moving the blog across domains.

Url is escaped to make it xml safe

Source


<?php
function the_guid$id ) {
    echo 
esc_urlget_the_guid$id ) );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics