Switch language

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




the_post_password [ WordPress Function ]

the_post_password ( No parameters )
Uses:
  • attr
Defined at:



Display the post password.

The password is passed through {@link esc_attr()} to ensure that it is safe for placing in an html attribute.

Source


<?php
function the_post_password() {
    global 
$post;
    if ( isset( 
$post->post_password ) ) echo esc_attr$post->post_password );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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