Class MLA (Media Library Assistant) Modal Ajax contains handlers for the WordPress 3.5+ Media Manager
| package |
Media Library Assistant |
|---|---|
| since | 2.20 |
initialize() : void
| since | 2.20 |
|---|---|
mla_admin_init_action() : void
Replace 'query-attachments' with our own handler if the request is coming from the "Assistant" tab. Clean up the 'save-attachment-compat' values, removing the taxonomy updates MLS already handled.
| since | 2.20 |
|---|---|
mla_fill_compat_fields_action() : void
Prepares an array of (HTML) taxonomy meta boxes with attachment-specific values.
| since | 2.20 |
|---|---|
mla_get_media_item_args_filter( $args) : array
Declared public because it is a filter.
| since | 1.71 |
|---|
arrayarguments for the get_media_item function (unchanged)
mla_update_compat_fields_action() : void
Updates one (or more) supported taxonomy and returns updated checkbox or tag/term lists
| since | 2.20 |
|---|---|
media_item_args : array
| since | |
|---|---|
| var |
( 'errors' => array of strings, 'in_modal => boolean ) |
array