apply_filters( 'jb_ajax_job_validation_errors', $errors ) → {array}
Filters job post validation errors.
Note: You may use this hook for adding your custom validations or remove existed while job saved through wp-admin editor.
Format for the errors: key = 'empty' - required field is empty key = 'wrong' - invalid format if the field value = array( '{field_id}' ) - user field ID that you used for the registration the field on the form.
Parameters:
Name | Type | Description |
---|---|---|
$errors |
array | Errors list. If there aren't any errors it's empty array. |
- Since:
- 1.2.2
- Source:
Returns:
Errors list.
- Type
- array