acf/validate_{$this->hook_name}
acf/validate_{$this->hook_name}
Appears in: advanced-custom-fields.6.3.5
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.5apply_filters('acf/validate_{$this->hook_name}') is found 2 times:
- /includes/class-acf-internal-post-type.php line 282278279280281282283284285286287288
* @since 5.0.0
*
* @param
array
$post
The post
array
.
*/
return
apply_filters(
"acf/validate_{$this->hook_name}"
,
$post
);
}
/**
* Validates post type values before allowing save from the
global
$_POST
object.
* Errors are added to the form using acf_add_internal_post_type_validation_error().
*
- /includes/post-types/class-acf-post-type.php line 306302303304305306307308309310311312
* @since 5.0.0
*
* @param
array
$post
The post
array
.
*/
return
apply_filters(
"acf/validate_{$this->hook_name}"
,
$post
);
}
/**
* Validates post type values before allowing save from the
global
$_POST
object.
* Errors are added to the form using acf_add_internal_post_type_validation_error().
*