pfeifferNet

Optimise
in package

Site optimisation.

Tags
since
5.5.0
since
5.11.0

Deprecated global singleton.

Table of Contents

Properties

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

Methods

disable_emojis()  : void
Disable emojis
disable_emojis_tinymce()  : array<string|int, mixed>
Filter to remove the tinymce emoji plugin.
get_instance()  : object
Creates and/or returns the instance of this class.
remove_generator()  : string
Remove the WordPress version number from head.
__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

disable_emojis()

Disable emojis

public disable_emojis() : void
Tags
since
1.0.0
since
5.5.0

Brought into this standard class with other optimisations.

disable_emojis_tinymce()

Filter to remove the tinymce emoji plugin.

public disable_emojis_tinymce(array<string|int, mixed> $plugins) : array<string|int, mixed>
Parameters
$plugins : array<string|int, mixed>

Array of tinyMCE plugins.

Tags
since
1.0.0
since
5.5.0

Brought into this standard class with other optimisations.

Return values
array<string|int, mixed>

Modified plugins array.

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

        
On this page

Search results