---
title: "Retrieve Entry Approval Status in GravityView"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravityview/advanced/retrieve-entry-approval-status-in-gravityview/"
---

If you want to get the GravityView approval status (Approved / Disapproved / Unapproved) of a Gravity Forms entry using code, use `GravityView_Entry_Approval::get_entry_status()` . This method supports retrieving either the **label** (Approved, Disapproved, Unapproved) or the **value** (1, 2, 0).

## Approval status values

The approval statuses are stored as constants in `GravityView_Entry_Approval_Status` class. The numeric value can be accessed using `GravityView_Entry_Approval_Status::APPROVED` .

| **Constant** | **Value** | **Default Label** | **Description** |
|---|---|---|---|
| APPROVED | `1` | Approved | Entry has been approved. |
| DISAPPROVED | `2` | Disapproved | Entry has been explicitly disapproved. |
| UNAPPROVED | `3` | Unapproved | Entry has not yet been approved or disapproved. |

## Fetching the label sample

```
// Get the label (default)
$value = GravityView_Entry_Approval::get_entry_status( $entry_or_id_or_slug, 'value' );

// Get the numeric value (1,2,3)
$label = GravityView_Entry_Approval::get_entry_status( $entry_or_id_or_slug, 'label' );

// Example outputs:
$value = 1;
$label = 'Approved';
```

```
// Get the label (default)
$value = GravityView_Entry_Approval::get_entry_status( $entry_or_id_or_slug, 'value' );

// Get the numeric value (1,2,3)
$label = GravityView_Entry_Approval::get_entry_status( $entry_or_id_or_slug, 'label' );

// Example outputs:
$value = 1;
$label = 'Approved';
```

## **Helper methods**

To make approval checks more readable, you can also use these helper methods:

```
GravityView_Entry_Approval_Status::is_approved( $entry );
GravityView_Entry_Approval_Status::is_disapproved( $entry );
GravityView_Entry_Approval_Status::is_unapproved( $entry );
```

```
GravityView_Entry_Approval_Status::is_approved( $entry );
GravityView_Entry_Approval_Status::is_disapproved( $entry );
GravityView_Entry_Approval_Status::is_unapproved( $entry );
```

These helper methods handle all status logic internally, keeping your code clean and consistent.