gca_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

Applied globally

add_filter( 'gca_should_delete_entry_in_resource', 'my_custom_function' );

Applied to specific form

add_filter( 'gca_should_delete_entry_in_resource_FORMID', 'my_custom_function' );

Applied to specific feed

add_filter( 'gca_should_delete_entry_in_resource_FORMID_FEEDID', 'my_custom_function' );

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

  • 1.0.0 Hook added.