Class MLA (Media Library Assistant) Settings Custom Fields implements the Settings/Media Library Assistant Custom Fields tab
| package |
Media Library Assistant |
|---|---|
| since | 2.40 |
_add_custom_field_rule() : string
| since | 2.50 |
|---|---|
| uses |
for field-level values |
stringMessage(s) reflecting the results of the operation
_bulk_update_custom_field_rule(integer $post_id) : string
| since | 2.50 |
|---|---|
| uses |
for field-level values |
integerID value of rule to update
stringstatus/error message
_compose_edit_custom_field_rule_tab(array $item, &$template) : array
| since | 2.50 |
|---|
arrayData values for the item.
array'message' => status/error messages, 'body' => tab content
_delete_custom_field_rule(integer $post_id) : array
| since | 2.50 |
|---|
integerID value of rule to delete
arrayMessage(s) reflecting the results of the operation
_process_custom_field_mapping( $settings = NULL, $offset, $length) : array
| since | 2.50 |
|---|
arrayMessage(s) reflecting the results of the operation
_purge_custom_field_values(array $rule_ids) : array
| since | 2.50 |
|---|
arrayID value of rule(s), to get field names
arrayMessage(s) reflecting the results of the operation
_save_custom_field_settings() : array
| since | 1.10 |
|---|---|
arrayMessage(s) reflecting the results of the operation
_update_custom_field_rule(integer $post_id, &$template) : array
| since | 2.50 |
|---|---|
| uses |
for field-level values |
integerID value of rule to update
array'message' => status/error messages, 'body' => tab content
mla_admin_enqueue_scripts(string $page_hook)
| since | 2.40 |
|---|---|
stringName of the page being loaded
mla_compose_custom_field_tab() : array
| since | 1.10 |
|---|---|
array'message' => status/error messages, 'body' => tab content
mla_inline_edit_custom_action() : void
Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php
| since | 2.50 |
|---|---|
mla_inline_mapping_custom_action() : void
| since | 2.00 |
|---|---|
JAVASCRIPT_INLINE_EDIT_CUSTOM_OBJECT
| since | |
|---|---|
| var |