acf/pre_submit_form
acf/pre_submit_form
Appears in: advanced-custom-fields.6.3.2
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.2apply_filters('acf/pre_submit_form') is found 1 times:
- /includes/forms/form-front.php line 368
*/ function submit_form( $form ) { // filter $form = apply_filters( 'acf/pre_submit_form', $form ); // vars $post_id = acf_maybe_get( $form, 'post_id', 0 ); // add global for backwards compatibility $GLOBALS['acf_form'] = $form;