post_password_required Wordpress function


Description:

Whether post requires password and correct password has been provided.


Syntax:


Arguments:

(int|object) $post An optional post. Global $post used if not provided.


Return Type:

(bool) false if a password is not required or the correct password cookie is present, true otherwise.


Define At:

wp-includes/post-template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/post_password_required


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×