pfeifferNet

Register_Form extends Shortcode
in package

Display a registration form.

  • Provides the pnet-register-form shortcode.
Tags
since
5.5.0
uses
Shortcode

Table of Contents

Constants

DEFAULTS  = array()
The shortcode defaults.

Properties

$attributes  : array<string|int, mixed>
The shortcode attributes.
$instances  : array<string|int, object>
The array of instances of this class and sub-classes.

Methods

get_instance()  : object
Creates and/or returns the instance of this class.
get_the_content()  : string
Return the shortcode content.
__construct()  : void
Initialise the class.
the_content()  : void
Render the registration form.

Constants

DEFAULTS

The shortcode defaults.

protected array<string|int, mixed> DEFAULTS = array()

This can be overridden in each shortcode defintion to define the allowable attributes.

Tags
since
5.5.0
since
5.12.0

Moved from property to constant.

Properties

$attributes

The shortcode attributes.

protected array<string|int, mixed> $attributes = array()
  • This contains the defaults and the incoming attributes from the shortcode.
Tags
since
5.5.0

$instances

The array of instances of this class and sub-classes.

protected static array<string|int, object> $instances = array()
Tags
since
5.11.0

Methods

get_instance()

Creates and/or returns the instance of this class.

public static get_instance() : object
Tags
since
5.11.0
Return values
object

The instance of this class.

get_the_content()

Return the shortcode content.

public get_the_content([array<string|int, mixed> $atts = array() ][, string $text = '' ][, string $tag = '' ]) : string
Parameters
$atts : array<string|int, mixed> = array()

The shortcode atts - see $defaults.

$text : string = ''

The enclosed shortcode content.

$tag : string = ''

The calling shortcode tag.

Tags
since
5.5.0
Return values
string

Shortcode content markup.

__construct()

Initialise the class.

protected __construct() : void
Tags
since
5.11.0

        
On this page

Search results