acf/validate_attachment/key={$field[key]}
acf/validate_attachment/key={$field[key]}
Appears in: advanced-custom-fields.6.2.7
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.2.7apply_filters('acf/validate_attachment/key={$field[key]}') is found 1 times:
- /includes/api/api-helpers.php line 29672963296429652966296729682969297029712972
* @param string
$context
The curent context (uploading, preparing)
*/
$errors
= apply_filters(
"acf/validate_attachment/type={$field['type']}"
,
$errors
,
$file
,
$attachment
,
$field
,
$context
);
$errors
= apply_filters(
"acf/validate_attachment/name={$field['_name']}"
,
$errors
,
$file
,
$attachment
,
$field
,
$context
);
$errors
= apply_filters(
"acf/validate_attachment/key={$field['key']}"
,
$errors
,
$file
,
$attachment
,
$field
,
$context
);
$errors
= apply_filters(
'acf/validate_attachment'
,
$errors
,
$file
,
$attachment
,
$field
,
$context
);
// return
return
$errors
;
}