acf/pre_save_post

acf/pre_save_post

Hook Type: filter

See hook in core

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

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

  • /includes/forms/form-front.php line 423
    			// add global for backwards compatibility
    			$GLOBALS['acf_form'] = $form;
    
    			// allow for custom save
    			$post_id = apply_filters( 'acf/pre_save_post', $post_id, $form );
    
    			// save
    			acf_save_post( $post_id );
    
    			// restore form (potentially modified)
    			$form = $GLOBALS['acf_form'];