JAVASCRIPT_MEDIA_MODAL_STYLES JAVASCRIPT_MEDIA_MODAL_STYLES Slug for localizing and enqueueing CSS - Add Media and related dialogs
JAVASCRIPT_MEDIA_MODAL_SLUG JAVASCRIPT_MEDIA_MODAL_SLUG Slug for localizing and enqueueing JavaScript - Add Media and related dialogs
JAVASCRIPT_MEDIA_MODAL_OBJECT JAVASCRIPT_MEDIA_MODAL_OBJECT Object name for localizing JavaScript - Add Media and related dialogs
JAVASCRIPT_TERMS_SEARCH_OBJECT JAVASCRIPT_TERMS_SEARCH_OBJECT Object name for localizing JavaScript - Terms Search popup
$mla_media_modal_settings $mla_media_modal_settings : array Share the settings values between mla_media_view_settings_filter and mla_print_media_templates_action Type array
mla_terms_options() mla_terms_options( $markup) : array Extract value and text elements from Dropdown HTML option tags Parameters $markup Returns array — ( 'class' => $class_array, 'value' => $value_array, 'text' => $text_array )
mla_media_view_settings_filter() mla_media_view_settings_filter( $settings, $post) : array Adds settings values to be passed to the Media Manager in /wp-includes/js/media-views.js. Declared public because it is a filter. Parameters $settings $post Returns array — updated $settings array
mla_media_view_strings_filter() mla_media_view_strings_filter( $strings, $post) : array Adds string values to be passed to the Media Manager in /wp-includes/js/media-views.js. Declared public because it is a filter. Parameters $strings $post Returns array — updated $strings array
mla_wp_enqueue_media_action() mla_wp_enqueue_media_action() : void Enqueues the mla-media-modal-scripts.js file, adding it to the Media Manager scripts. Declared public because it is an action.
mla_print_media_templates_action() mla_print_media_templates_action() : void Prints the templates used in the MLA Media Manager enhancements. Declared public because it is an action.
mla_admin_init_action() mla_admin_init_action() : void Clean up the 'save-attachment-compat' values, removing taxonomy updates MLA already handled
mla_add_terms_search_scripts() mla_add_terms_search_scripts() : void Add the styles and scripts for the "Search Terms" popup modal window, but only once per page load
mla_add_terms_search_form() mla_add_terms_search_form() : void Add the hidden form for the "Search Terms" popup modal window, but only once per page load
mla_echo_terms_search_form() mla_echo_terms_search_form() : void Echo the hidden form for the "Search Terms" popup modal window
mla_terms_search_form() mla_terms_search_form() : string Build the hidden form for the "Search Terms" popup modal window Returns string — HTML markup for hidden form
_months_dropdown() _months_dropdown( $post_type) : array Display a monthly dropdown for filtering items Adapted from /wp-admin/includes/class-wp-list-table.php function months_dropdown() Parameters $post_type Returns array — ( value => label ) pairs