Filter: RML/Validate/Rename

apply_filters( 'RML/Validate/Rename', $errors, $name, $folder ) → {Array.<string>}

Checks if a folder can be renamed.

Parameters:
Name Type Description
$errors Array.<string>

An array of errors

$name string

The new folder name

$folder IFolder

The folder object

Returns:

When the array has one or more items the rename process is cancelled with the string message

Type
Array.<string>