Class MLA (Media Library Assistant) Modal contains enhancements for the WordPress 3.5+ Media Manager
|
package
|
Media Library Assistant
|
|
since
|
1.20
|
Methods
Display a monthly dropdown for filtering items
_months_dropdown( $post_type) : array
static
Adapted from /wp-admin/includes/class-wp-list-table.php function months_dropdown()
Arguments
Response
array( value => label ) pairs
Initialization function, similar to __construct()
initialize() : void
static
Add the styles and scripts for the "Search Terms" popup modal window,
but only once per page load
mla_add_terms_search_scripts() : void
static
Clean up the 'save-attachment-compat' values, removing taxonomy updates MLA already handled
mla_admin_init_action() : void
static
Extract value and text elements from Dropdown HTML option tags
mla_terms_options( $markup) : array
static
Arguments
Response
array( 'class' => $class_array, 'value' => $value_array, 'text' => $text_array )
Constants
Object name for localizing JavaScript - Terms Search popup
JAVASCRIPT_TERMS_SEARCH_OBJECT
Properties