Optimise
in package
Site optimisation.
Tags
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
Methods
disable_emojis()
Disable emojis
public
disable_emojis() : void
Tags
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
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
Return values
object —The instance of this class.
remove_generator()
Remove the WordPress version number from head.
public
remove_generator() : string
Tags
Return values
string__construct()
Initialise the class.
protected
__construct() : void