MCI_Footnotes_WYSIWYG
Tags
Table of Contents
- ajaxCallback() : mixed
- AJAX Callback function when the Footnotes Button is clicked. Either in the Plain text or Visual editor.
- includeScripts() : array<string|int, mixed>
- Includes the Plugins WYSIWYG editor script.
- newPlainTextEditorButton() : mixed
- Add a new button to the plain text editor.
- newVisualEditorButton() : array<string|int, mixed>
- Append a new Button to the WYSIWYG editor of Posts and Pages.
- registerHooks() : mixed
Methods
ajaxCallback()
AJAX Callback function when the Footnotes Button is clicked. Either in the Plain text or Visual editor.
public
static ajaxCallback() : mixed
Returns an JSON encoded array with the Footnotes start and end short code.
Tags
Return values
mixed —includeScripts()
Includes the Plugins WYSIWYG editor script.
public
static includeScripts(array<string|int, mixed> $p_arr_Plugins) : array<string|int, mixed>
Parameters
- $p_arr_Plugins : array<string|int, mixed>
-
Scripts to be included to the editor.
Tags
Return values
array<string|int, mixed> —newPlainTextEditorButton()
Add a new button to the plain text editor.
public
static newPlainTextEditorButton() : mixed
Tags
Return values
mixed —newVisualEditorButton()
Append a new Button to the WYSIWYG editor of Posts and Pages.
public
static newVisualEditorButton(array<string|int, mixed> $p_arr_Buttons) : array<string|int, mixed>
Parameters
- $p_arr_Buttons : array<string|int, mixed>
-
pre defined Buttons from WordPress.
Tags
Return values
array<string|int, mixed> —registerHooks()
public
static registerHooks() : mixed