gcn_should_delete_entry_in_resource

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

Description

Filter whether the entry should be deleted in the resource.

Usage

Apply to all feeds on all forms.

add_filter( 'gcn_should_delete_entry_in_resource', '__return_true' );

Apply to all feeds on a specific form.

add_filter( 'gcn_should_delete_entry_in_resource_{form_id}', '__return_true' );

Apply to a specific feed on a specific form.

add_filter( 'gcn_should_delete_entry_in_resource_{form_id}_{feed_id}', '__return_true' );

Parameters

  • should_edit bool

    Whether the entry should be deleted in the resource.

  • entry array

    The entry being processed.

  • feed array

    The feed being processed.

Since

This filter is available since GC Notion 1.0.0.