acf/validate_save_post vs acf/save_post

Question

I want to validate a post before to submit.
Is there any differences?

add_action('acf/validate_save_post', 'my_acf_validate_save_post');
function my_acf_validate_save_post() {
  // Do validate.
}
0
Jehong Ahn 6 months 2022-05-26T08:02:45-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse