$custom_field_data_sources
$custom_field_data_sources : array
Array of Data Source names for custom field mapping
Class MLA (Media Library Assistant) Data Source manages data sources for custom field mapping and shortcode execution
mla_is_data_source( $candidate_name) : boolean
Identify custom field mapping data source
Determines whether a name matches any of the element-level data source dropdown options, i.e., excludes "template:" and "meta:" values.
$candidate_name |
true if candidate name matches a data source
mla_get_data_source( $post_id, $category, $data_value, $attachment_metadata = NULL) : string|array
Get IPTC/EXIF or custom field mapping data source
Defined as public so MLA Mapping Hooks clients can call it. Isolates clients from changes to _evaluate_data_source().
$post_id | ||
$category | ||
$data_value | ||
$attachment_metadata |
data source value
_evaluate_file_information( $upload_dir, $wp_attached_files, $wp_attachment_metadata, $post_id) : array
Evaluate file information for custom field mapping
$upload_dir | ||
$wp_attached_files | ||
$wp_attachment_metadata | ||
$post_id |
absolute_path_raw, absolute_path, absolute_file_name_raw, absolute_file_name, absolute_file, base_file, path, file_name, extension, dimensions, width, height, hwstring_small, array of intermediate sizes