# MLASettings_IPTCEXIF

Class MLA (Media Library Assistant) Settings IPTC EXIF implements the Settings/Media Library Assistant IPTC EXIF tab

package | Media Library Assistant
since | 2.40

### Methods

## Add a IPTC EXIF custom field rule from values in $_REQUEST

    _add_iptc_exif_rule() : string

static

since | 2.60
uses | for field-level values

### Response

`string`

Message(s) reflecting the results of the operation

## Update a IPTC EXIF rule from Bulk Edit action values in $_REQUEST

    _bulk_update_iptc_exif_rule(integer $post_id) : string

static

since | 2.60
uses | for field-level values

### Arguments

#### $post_id

`integer`

ID value of rule to update

### Response

`string`

status/error message

## Compose the Edit IPTC EXIF Rule tab content for the Settings/IPTC EXIF subpage

    _compose_edit_iptc_exif_rule_tab(array $item,  &$template) : array

static

since | 2.60

### Arguments

#### $item

`array`

Data values for the item.

#### $template

``

### Response

`array`

'message' => status/error messages, 'body' => tab content

## Delete a IPTC EXIF rule

    _delete_iptc_exif_rule(integer $post_id) : array

static

since | 2.60

### Arguments

#### $post_id

`integer`

ID value of rule to delete

### Response

`array`

Message(s) reflecting the results of the operation

## Process IPTC EXIF rule(s) against all image attachments

    _process_iptc_exif_mapping( $settings = NULL, integer $offset, integer $length) : array

static

since | 2.60

### Arguments

#### $settings

``

#### $offset

`integer`

for chunk mapping

#### $length

`integer`

for chunk mapping

### Response

`array`

Message(s) reflecting the results of the operation

## Purge one or more custom field values for Bulk action

    _purge_custom_field_values(array $rule_ids) : array

static

since | 2.60

### Arguments

#### $rule_ids

`array`

ID value of rule(s), to get field names

### Response

`array`

Message(s) reflecting the results of the operation

## Save IPTC/EXIF settings to the options table

    _save_iptc_exif_settings() : array

static

since | 1.00
uses |

### Response

`array`

Message(s) reflecting the results of the operation

## Update a IPTC EXIF rule from full-screen Edit Rule values in $_REQUEST

    _update_iptc_exif_rule(integer $post_id,  &$template) : array

static

since | 2.60
uses | for field-level values

### Arguments

#### $post_id

`integer`

ID value of rule to update

#### $template

``

### Response

`array`

'message' => status/error messages, 'body' => tab content

## Load the tab's Javascript files

    mla_admin_enqueue_scripts(string $page_hook)

static

since | 2.40

### Arguments

#### $page_hook

`string`

Name of the page being loaded

## Compose the IPTC EXIF tab content for the Settings subpage

    mla_compose_iptc_exif_tab() : array

static

since | 1.10

### Response

`array`

'message' => status/error messages, 'body' => tab content

## Ajax handler for IPTC EXIF inline editing (quick edit)

    mla_inline_edit_iptc_exif_action() : void

static

Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php

since | 2.60

## Ajax handler for IPTC EXIF tab inline mapping

    mla_inline_mapping_iptc_exif_action() : void

static

since | 2.00

### Constants

## Object name for localizing JavaScript - MLA IPTC EXIF List Table

    JAVASCRIPT_INLINE_EDIT_IPTC_EXIF_OBJECT

since |
var |