acf/pre_submit_form

acf/pre_submit_form

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.2.1

apply_filters('acf/pre_submit_form') is found 1 times:

  • /includes/forms/form-front.php line 416
     
    		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;