acf/validate_save_post
acf/validate_save_post
Appears in: advanced-custom-fields.6.3.5
Hook Type: action
Displaying hooks found in version: advanced-custom-fields.6.3.5do_action('acf/validate_save_post') is found 1 times:
- /includes/validation.php line 235231232233234235236237238239240241
*/
function
acf_validate_save_post(
$show_errors
= false ) {
// action
do_action(
'acf/validate_save_post'
);
// vars
$errors
= acf_get_validation_errors();
// bail early if no errors
if
( !
$errors
) {