\MLASettings_Documentation

Class MLA (Media Library Assistant) Settings Documentation implements the Settings/Media Library Assistant Documentation tab

Summary

Methods
Properties
Constants
mla_admin_enqueue_scripts()
mla_compose_documentation_tab()
No public properties found
JAVASCRIPT_DOCUMENTATION_TAB_SLUG
JAVASCRIPT_DOCUMENTATION_TAB_OBJECT
No protected methods found
No protected properties found
N/A
_display_example_plugin()
_compose_example_tab()
No private properties found
N/A

Constants

JAVASCRIPT_DOCUMENTATION_TAB_SLUG

JAVASCRIPT_DOCUMENTATION_TAB_SLUG

Slug for localizing and enqueueing JavaScript

JAVASCRIPT_DOCUMENTATION_TAB_OBJECT

JAVASCRIPT_DOCUMENTATION_TAB_OBJECT

Object name for localizing JavaScript

Methods

mla_admin_enqueue_scripts()

mla_admin_enqueue_scripts(string  $page_hook) 

Load the tab's Javascript files

Parameters

string $page_hook

Name of the page being loaded

mla_compose_documentation_tab()

mla_compose_documentation_tab() : array

Compose the Documentation tab content for the Settings subpage

Returns

array —

'message' => status/error messages, 'body' => tab content

_display_example_plugin()

_display_example_plugin(  $ID) : array

Display (read-only) an Example Plugin

Parameters

$ID

Returns

array —

'message' => status/error messages, 'body' => tab content

_compose_example_tab()

_compose_example_tab() : array

Compose the Example Plugin tab content for the Settings/Documentation subpage

Returns

array —

'message' => status/error messages, 'body' => tab content