get_the_password_form


get_the_password_form ( $post = 0 )

Parameters:
  • (int|WP_Post) $post Optional. Post ID or WP_Post object. Default is global $post.
Returns:
  • (string) HTML content for password form for password protected post.
Defined at:

Description

Retrieve protected post password form content.

Related Functions

get_the_author_firstname, get_the_author_msn, get_the_author_yim, get_the_author_aim, get_the_author_url

Top Google Results

User discussions

wpseek mobile