pfeifferNet

Media
in package

Add administration functions to media uploads.

Tags
since
1.4.0
since
5.5.0

Inherit standard singleton class.

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

get_instance()  : object
Creates and/or returns the instance of this class.
image_size_chooser()  : array<string|int, mixed>
Add custom sizes to the media size chooser.
__construct()  : void
Initialise the class and set its properties.

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 and set its properties.

protected __construct() : void
Tags
since
5.11.0

        
On this page

Search results