Filter: gravityview/duplicate-view/status
Modify the default status for a new View. Return empty for the new View to inherit existing View status.
Parameters
| Name | Type | Description |
|---|---|---|
| $status | string|null | If string, the status to set for the new View. If empty, use existing View status. |
| $post | \WP_Post | View being cloned. |
Since
- 1.6
Source
Defined in src/Admin/DuplicateView.php at line 150