Documentation

FolderShortcode
in package
Uses UtilsProvider

Handles the shortcode for [folder-gallery].

Table of Contents

Properties

$TAG  : mixed
$me  : mixed

Methods

__construct()  : mixed
C'tor.
admin_head()  : mixed
Modify admin_head section.
getInstance()  : FolderShortcode
Get instance.
getPluginConstantPrefix()  : string
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
localize()  : array<string|int, mixed>
Localized variables for TinyMCE shortcode generator.
mce_buttons()  : array<string|int, string>
Add button to MCE.
mce_external_plugins()  : array<string|int, mixed>
Add external plugin to MCE.
shortcode_atts_gallery()  : array<string|int, mixed>
Modify original shortcode attributes of [gallery].

Properties

Methods

getPluginConstantPrefix()

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

public getPluginConstantPrefix() : string
Tags
codeCoverageIgnore

It only returns a string with the constant prefix

Return values
string

localize()

Localized variables for TinyMCE shortcode generator.

public localize(array<string|int, mixed> $arr) : array<string|int, mixed>
Parameters
$arr : array<string|int, mixed>
Return values
array<string|int, mixed>

mce_buttons()

Add button to MCE.

public mce_buttons(array<string|int, string> $buttons) : array<string|int, string>
Parameters
$buttons : array<string|int, string>
Return values
array<string|int, string>

mce_external_plugins()

Add external plugin to MCE.

public mce_external_plugins(array<string|int, mixed> $plugin_array) : array<string|int, mixed>
Parameters
$plugin_array : array<string|int, mixed>
Return values
array<string|int, mixed>

Modify original shortcode attributes of [gallery].

public shortcode_atts_gallery(array<string|int, mixed> $out, array<string|int, mixed> $pairs, array<string|int, mixed> $atts) : array<string|int, mixed>
Parameters
$out : array<string|int, mixed>
$pairs : array<string|int, mixed>
$atts : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results