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
author

Barn2 Plugins info@barn2.co.uk

license

GPL-3.0

copyright

Barn2 Media Ltd

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

Properties

Methods

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

Search results