Login_Shortcode implements Registerable, Service
Handles the display and processing of the category login shortcode.
This is used to allow customers to login to their own product category using their category password.
Tags
Interfaces, Classes and Traits
- Registerable
- Service
Table of Contents
- SHORTCODE = 'category_login'
- $password_form : mixed
- __construct() : mixed
- login_shortcode() : string
- Handles the category login shortcode.
- register() : mixed
Constants
SHORTCODE
public
mixed
SHORTCODE
= 'category_login'
Properties
$password_form
private
mixed
$password_form
Methods
__construct()
public
__construct(Password_Form $password_form) : mixed
Parameters
- $password_form : Password_Form
Return values
mixed —login_shortcode()
Handles the category login shortcode.
public
login_shortcode([array<string|int, mixed> $atts = [] ]) : string
Parameters
- $atts : array<string|int, mixed> = []
-
The attributes passed in to the shortcode
Return values
string —The shortcode output
register()
public
register() : mixed