get_the_password_form [ WordPress Function ]
get_the_password_form ( No parameters )
| Uses: | |
| Returns: |
|
| Defined at: |
|
Benzer Fonksiyonlar: get_the_author_url, get_the_author_msn, get_the_author_firstname, get_the_author_aim, get_the_author_yim
Retrieve protected post password form content.
Source
<?php
function get_the_password_form() {
global $post;
$label = 'pwbox-' . ( empty($post->ID) ? rand() : $post->ID );
$output = '<form action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post' ) ) . '" method="post">
<p>' . __("This post is password protected. To view it please enter your password below:") . '</p>
<p><label for="' . $label . '">' . __("Password:") . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__("Submit") . '" /></p>
</form>
';
return apply_filters('the_password_form', $output);
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- WordPress › Support » Extra brake tags in get_the_password_form
Here's the get_the_password_form() function from post-template.php function get_the_password_form() { global $post; $label = 'pwbox-'.(empty($post->ID) ...
wordpress.org - WordPress › Support » Tags — get_the_password_form()
Forums. Username or Email Address Password (forgot?) Register · WordPress › Support » get_the_password_form(). Tag: get_the_password_form() Add New » ...
wordpress.org - get_the_password_form | A HitchHackers guide through WordPress
Feb 12, 2011 ... function get_the_password_form() { global $post; $label = 'pwbox-'.(empty($post- >ID) ? rand() : $post->ID); $output = '<form action="' ...
hitchhackerguide.com - get_the_password_form (WordPress Function) - WPSeek.com
WordPress lookup for get_the_password_form, a WordPress Function. wpseek. com is a WordPress-centric search tool for developers and theme authors.
wpseek.com
Kullanýcý Tartýþmalarý [ wordpress.org ]
- fergp25 on "Adding form elements to get_the_password_form()"
- deepbevel on "automatically password protecting posts"
- Beer on "automatically password protecting posts"
- deepbevel on "automatically password protecting posts"
- Beer on "automatically password protecting posts"
- astima on "automatically password protecting posts"
- Beer on "automatically password protecting posts"
- deepbevel on "automatically password protecting posts"
- Beer on "automatically password protecting posts"
- astima on "automatically password protecting posts"