Skip to Content
Menu

password_form_simplify()

Simplify the password protected form on posts.

PHP April 26, 2017

Usage

This function runs automatically, so it is not called manually. Is this incorrect?

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!

    Source File

    Located in /libs/Functions.php on line 2490.

    No Hooks

    This function does not have any filters or actions available. Request one?
    PHP
            public function password_form_simplify(){
                $output = '<form class="ignore-form" action="' . esc_url(site_url('wp-login.php?action=postpass', 'login_post')) . '" method="post">
                                <span>' . __('Password', 'nebula') . ': </span>
                                <input type="password" class="ignore-form" name="post_password" size="20" autocomplete="current-password" />
                                <input type="submit" name="Submit" value="' . __('Go', 'nebula') . '" />
                            </form>';
                return $output;
            }
    

    Override

    This function can not be short-circuited with an override filter. Request one?