\MLASettings_IPTCEXIF

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

Summary

Methods
Properties
Constants
mla_admin_enqueue_scripts()
mla_compose_iptc_exif_tab()
mla_inline_mapping_iptc_exif_action()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
_save_iptc_exif_custom_settings()
_save_iptc_exif_settings()
_process_iptc_exif_standard()
_process_iptc_exif_taxonomy()
_process_iptc_exif_custom()
No private properties found
N/A

Methods

mla_admin_enqueue_scripts()

mla_admin_enqueue_scripts(string  $page_hook) 

Load the tab's Javascript files

Parameters

string $page_hook

Name of the page being loaded

mla_compose_iptc_exif_tab()

mla_compose_iptc_exif_tab() : array

Compose the IPTC/EXIF tab content for the Settings subpage

Returns

array —

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

mla_inline_mapping_iptc_exif_action()

mla_inline_mapping_iptc_exif_action() : void

Ajax handler for IPTC/EXIF tab inline mapping

_save_iptc_exif_custom_settings()

_save_iptc_exif_custom_settings(  $new_values) : array

Save IPTC/EXIF custom field settings to the options table

Parameters

$new_values

Returns

array —

Message(s) reflecting the results of the operation

_save_iptc_exif_settings()

_save_iptc_exif_settings() : array

Save IPTC/EXIF settings to the options table

Returns

array —

Message(s) reflecting the results of the operation

_process_iptc_exif_standard()

_process_iptc_exif_standard(  $offset,   $length) : array

Process IPTC/EXIF standard field settings against all image attachments without saving the settings to the mla_option

Parameters

$offset
$length

Returns

array —

Message(s) reflecting the results of the operation

_process_iptc_exif_taxonomy()

_process_iptc_exif_taxonomy(  $offset,   $length) : array

Process IPTC/EXIF taxonomy term settings against all image attachments without saving the settings to the mla_option

Parameters

$offset
$length

Returns

array —

Message(s) reflecting the results of the operation

_process_iptc_exif_custom()

_process_iptc_exif_custom(  $settings = NULL,   $offset,   $length) : array

Process IPTC/EXIF custom field settings against all image attachments without saving the settings to the mla_option

Parameters

$settings
$offset
$length

Returns

array —

Message(s) reflecting the results of the operation