Skip to main content

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

NameTypeDescription
$statusstring|nullIf string, the status to set for the new View. If empty, use existing View status.
$post\WP_PostView being cloned.

Since

  • 1.6

Source

Defined in src/Admin/DuplicateView.php at line 150