How to show entries that are not active

Gravity Forms has different entry statuses, like when an entry is in the trash. By default, GravityView only displays entries that are active (not spam or in the trash).

The gravityview_status filter allows you to choose to show entries that are not active.

The filter passes two arguments:

  • $status string "active" "spam" or "trash" (default: active)
  • $args array The parameters for the View, such as form ID, page size, sort direction and field, etc.