apply_filters( 'RML/Validate/Insert', $errors, $id, $folder ) → {Array.<string>}
Checks if an attachment can be inserted into a folder.
Parameters:
Name | Type | Description |
---|---|---|
$errors |
Array.<string> | An array of errors |
$id |
int | The folder id |
$folder |
IFolder | The folder object |
Returns:
When the array has one or more items the movement is cancelled with the string message
- Type
- Array.<string>