Definition:
function the_post_password() {}
Display the post password.
The password is passed through esc_attr() to ensure that it is safe for placing in an html attribute.
Source code
function the_post_password() {
global $post;
if ( isset( $post->post_password ) ) echo esc_attr( $post->post_password );
}
3035

February 12, 2011 


No comments yet... Be the first to leave a reply!