---
title: fluentform/before_partial_entry_deleted
description: "## Description This action runs before deleting the partial entries. ```php /* * Source Action */ do_action('fluentform/before_partial_entry_deleted', $entryId, $formId); ``` ## Usage ```php add_action('fluentform/before_partial_entry_deleted', function ($entryId, $formId) { // Do your stuffs here }, 10, 2); ``` This code should…"
url: "https://fluentforms.com/docs/fluentform_before_partial_entry_deleted/"
updated: "2023-07-26"
category: Action Hooks
---

# fluentform/before_partial_entry_deleted

## Description

This action runs before deleting the partial entries.

```php
/*
* Source Action
*/
do_action('fluentform/before_partial_entry_deleted', $entryId, $formId);
```

## Usage

```php
add_action('fluentform/before_partial_entry_deleted', function ($entryId, $formId)
{
   // Do your stuffs here
}, 10, 2);
```

This code should be placed in the [functions.php](http://codex.wordpress.org/Theme_Development#Functions_File) file of your active theme.

## Parameters

- **$entryId** (int) Submission ID
- **$formId** (int) Form ID

## Source Code

This action is located in fluentformpro/src/classes/StepFormEntries.php -> deleteEntryById()
