Timber\Post::maybe_show_password_form PHP Метод

maybe_show_password_form() защищенный Метод

If the Password form is to be shown, show it!
protected maybe_show_password_form ( ) : string | void
Результат string | void
    protected function maybe_show_password_form()
    {
        if ($this->password_required()) {
            $show_pw = false;
            $show_pw = apply_filters('timber/post/content/show_password_form_for_protected', $show_pw);
            if ($show_pw) {
                return apply_filters('timber/post/content/password_form', get_the_password_form($this->ID), $this);
            }
        }
    }