pfeifferNet

Helper
in package

Content helper functionality

Tags
since
5.9.0
since
5.11.0

Deprecated global singleton.

since
6.1.0

Renamed this class from Frontend/Content.

used-by
Assets::__construct()
used-by
Progress_Indicator::__construct()
used-by
Messages::__construct()

Table of Contents

Properties

$instances  : array<string|int, object>
The array of instances of this class and sub-classes.
$settings  : Settings
The instance of the Settings class.

Methods

get_instance()  : object
Creates and/or returns the instance of this class.
render_hero_image()  : void
Render the page hero image.
strip_whitespace()  : string
Return the input HTML string, stripped of newlines, tabs, repeated, trailing and leading whitespace.
__construct()  : void
Initialise the class.

Properties

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

__construct()

Initialise the class.

protected __construct() : void
Tags
since
5.11.0
since
6.3.0

Use the Settings class.

uses
Settings

        
On this page

Search results