acf/pre_save_post

acf/pre_save_post

Hook Type: filter

See hook in core

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

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

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