JAVASCRIPT_INLINE_EDIT_UPLOAD_OBJECT JAVASCRIPT_INLINE_EDIT_UPLOAD_OBJECT Object name for localizing JavaScript - MLA Upload List Table
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_upload_tab() mla_compose_upload_tab() : array Compose the File Upload MIME Types tab content for the Settings subpage Returns array — 'message' => status/error messages, 'body' => tab content
mla_inline_edit_upload_action() mla_inline_edit_upload_action() : void Ajax handler for Upload MIME Types inline editing (quick and bulk edit) Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php
_save_upload_settings() _save_upload_settings() : array Save Upload settings to the options table Returns array — Message(s) reflecting the results of the operation
_get_icon_type_dropdown() _get_icon_type_dropdown( $templates, $name, $selection = '.none.') : string Get an HTML select element representing a list of icon types Parameters $templates $name $selection Returns string — HTML select element or empty string on failure.
_compose_edit_upload_tab() _compose_edit_upload_tab( $item, $templates) : array Compose the Edit Upload type tab content for the Settings subpage Parameters $item $templates Returns array — 'message' => status/error messages, 'body' => tab content
_compose_optional_upload_tab() _compose_optional_upload_tab( $page_template_array) : array Compose the Optional File Upload MIME Types tab content for the Settings subpage Parameters $page_template_array Returns array — 'message' => status/error messages, 'body' => tab content
_process_optional_upload_mime() _process_optional_upload_mime( $ID) : array Process an Optional Upload MIME Type selection Parameters $ID Returns array — 'message' => status/error messages, 'body' => tab content