gpns_statuses_to_skip_on_send

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

Description

Filter the entry statuses that should prevent scheduled notifications from being sent.

Usage

Filter the entry statuses that should prevent scheduled notifications from being sent.

add_filter( 'gpns_statuses_to_skip_on_send', 'my_custom_function' );

Filter the entry statuses that should prevent scheduled notifications from being sent for a particular form ID.

add_filter( 'gpns_statuses_to_skip_on_send_FORMID', 'my_custom_function' );

Parameters

  • statuses string[]

    The entry statuses that should prevent scheduled notifications from being sent. Default is spam, trash, and gv-revision.

  • form array

    The current form.

  • entry array

    The current entry.

  • notifications array

    The notifications queued for the current form.

Since

This filter is available since Gravity Forms Notification Scheduler 1.3.13.