JAVASCRIPT_EDIT_MEDIA_STYLES
JAVASCRIPT_EDIT_MEDIA_STYLES
Slug for localizing and enqueueing CSS - Add Media and related dialogs
Class MLA (Media Library Assistant) Edit contains meta boxes for the Edit Media (advanced-form-edit.php) screen
mla_update_attachment_metadata_postfilter( $data, $post_id, $options = array('is_upload' => true)) : array
Apply Media/Add New bulk edit area updates, if any
This filter is called AFTER MLA mapping rules are applied during wp_update_attachment_metadata() processing. If none of the mapping rules is enabled it is called from the 'wp_update_attachment_metadata' filter with just two arguments.
$data | ||
$post_id | ||
$options |
updated attachment metadata
get_delete_post_link_filter(string $link, integer $post_id, boolean $force_delete)
Adds mla_source argument to Trash/Delete link.
Declared public because it is a filter.
string | $link | The delete link. |
integer | $post_id | Post ID. |
boolean | $force_delete | Whether to bypass the trash and force deletion. Default false. |