apply_filters( 'jb_get_media_field_formats', $field_formats, $field_id ) → {string}
Filters the media formats. Backend form fields.
Parameters:
Name | Type | Description |
---|---|---|
$field_formats |
array | Formats. By default, array is empty. The full array is array('pdf', 'doc', 'docx', 'csv', 'txt|asc|c|cc|h|srt', 'xla|xls|xlt|xlw', 'xlsx', 'jpg|jpeg|jpe', 'png', 'gif', 'bmp', 'tiff|tif', 'webp', 'heic', 'ico', 'zip' ) |
$field_id |
string | Field id. |
- Since:
- 1.2.3
- Source:
Returns:
$field_formats Formats for media upload field.
- Type
- string