gpnf_should_trash_entries_on_delete

  1. Description
  2. Usage
  3. Parameters
  4. Since

Description

Filter whether GPNF should trash child entries when they are deleted on the front-end.

Usage

Apply to all child entries on all forms.

add_filter( 'gpnf_should_trash_entries_on_delete', '__return_true' );

Apply to all child entries on a specific form.

add_filter( 'gpnf_should_trash_entries_on_delete_FORMID', '__return_true' );

Parameters

  • should_trash_entries bool

    Should entries be trashed on delete? (default: false)

Since

This filter is available since Gravity Forms Nested Forms 1.0-beta-10.1.