Skip to main content

Filter: gk/gravityview/delete-entry/delete-connected-post

Should posts connected to an entry be deleted when the entry is deleted?

Receives the value of the deprecated gravityview/delete-entry/delete-connected-post filter (default: true).

Parameters

NameTypeDescription
$delete_postboolIf trashing an entry, trash the post. If deleting an entry, delete the post. Default: true.
$entryarrayArray of the entry being deleted/trashed.

Since

  • 2.48.5

Source

Defined in src/Extension/DeleteEntry/DeleteEntry.php at line 671