Password_Form implements Registerable, Service

Handles display and processing of the password form used for password protected categories and products.

Tags
author

Barn2 Plugins info@barn2.co.uk

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
An object that can be registered with WordPress via the Plugin API, i.e. add_action() and add_filter().
Service
Marker interface to denote a service.

Table of Contents

$form_id  : mixed
$plugin_file  : mixed
$plugin_version  : mixed
__construct()  : mixed
do_login()  : mixed
Handle submission of category login form.
get_form()  : mixed
queue_scripts()  : mixed
register()  : mixed
register_scripts()  : mixed
show_form()  : mixed
get_error_message()  : mixed

Properties

Methods

__construct()

public __construct(mixed $plugin_file, mixed $plugin_version) : mixed
Parameters
$plugin_file : mixed
$plugin_version : mixed
Return values
mixed

do_login()

Handle submission of category login form.

public do_login() : mixed
Tags
global

boolean $wp_did_header

Return values
mixed

get_form()

public get_form([mixed $args = array() ]) : mixed
Parameters
$args : mixed = array()
Return values
mixed

queue_scripts()

public queue_scripts() : mixed
Return values
mixed

register()

public register() : mixed
Return values
mixed

register_scripts()

public register_scripts() : mixed
Return values
mixed

show_form()

public show_form([mixed $args = array() ]) : mixed
Parameters
$args : mixed = array()
Return values
mixed

get_error_message()

private get_error_message() : mixed
Return values
mixed

Search results