Filter: gravityview/duplicate-view/new-view
Modifies View configuration before creating the duplicated View.
Return unslashed values; GravityView slashes the array before passing it to wp_insert_post().
Parameters
| Name | Type | Description |
|---|---|---|
| $new_view | array | Array of settings to be passed to wp_insert_post(), unslashed. |
| $post | \WP_Post | View being cloned. |
Since
- 1.6
- 3.8.0: The returned values are slashed before saving.
Source
Defined in src/Admin/DuplicateView.php at line 193