MLA_SETTINGS_SLUG
MLA_SETTINGS_SLUG
Provides a unique name for the settings page
Class MLA (Media Library Assistant) Core Options defines MLA option settings and defaults
$mla_option_definitions :
$mla_option_definitions defines the database options and admin page areas for setting/updating them
The array must be populated at runtime in MLACoreOptions::mla_localize_option_definitions_array(); localization calls cannot be placed in the "public static" array definition itself.
Each option is defined by an array with the following elements:
array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)
tab => Settings page tab id for the option name => admin page label or heading text type => 'checkbox', 'header', 'radio', 'select', 'text', 'textarea', 'custom', 'hidden' std => default value help => help text size => text size, default 40 cols => textbox columns, default 90 rows => textbox rows, default 5 options => array of radio or select option values texts => array of radio or select option display texts render => rendering function for 'custom' options. Usage: $options_list .= ['render']( 'render', $key, $value ); update => update function for 'custom' options; returns nothing. Usage: $message = ['update']( 'update', $key, $value, $_REQUEST ); delete => delete function for 'custom' options; returns nothing. Usage: $message = ['delete']( 'delete', $key, $value, $_REQUEST ); reset => reset function for 'custom' options; returns nothing. Usage: $message = ['reset']( 'reset', $key, $value, $_REQUEST );