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
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

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 = array() ]) : string
Parameters
$atts : array<string|int, mixed> = array()

The attributes passed in to the shortcode

Return values
string

The shortcode output

Search results