Skip to main content

Filter: gravityview/approve_entries/autounapprove/status

Filters the approval status when an entry is auto-unapproved after editing.

Parameters

NameTypeDescription
$approval_statusint|falseApproval status integer, or false if you want to not update status. Use GravityView_Entry_Approval_Status constants. Default: 3 (GravityView_Entry_Approval_Status::UNAPPROVED).
$formarrayGravity Forms form array.
$entry_idstringNumeric ID of the entry that was updated.
$view\GV\ViewCurrent View where the entry was edited.

Since

Source

Defined in includes/class-gravityview-entry-approval.php at line 777