Method |
Description |
|
add_actions ( ) |
Add custom actions |
|
admin_enqueue_scripts ( ) |
Enqueue scripts and styles |
|
file_info ( integer $file, array $args = [] ) : array | boolean |
Get uploaded file information |
|
files_info ( array $field, array $files, array $args ) : array |
Get uploaded files information |
|
format_single_value ( array $field, array $value ) : string |
Format a single value for the helper functions. |
|
format_value ( array $field, string | array $value ) : string |
Format value for the helper functions. |
|
get_value ( array $field, array $args = [], integer | null $post_id = null ) : mixed |
Get the field value. Return meaningful info of the files. |
|
html ( mixed $meta, array $field ) : string |
Get field HTML |
|
normalize ( array $field ) : array |
Normalize parameters for field |
|
post_edit_form_tag ( ) |
Add data encoding type for file uploading |
|
value ( mixed $new, mixed $old, integer $post_id, array $field ) : array | mixed |
Get meta values to save |
|
wp_ajax_delete_file ( ) |
Ajax callback for deleting files. |
|
wp_ajax_reorder_files ( ) |
Ajax callback for reordering images |
|