gpeu_send_to_duplicates

  1. Description
  2. Usage
  3. Parameters
  4. Example
    1. Don’t Send to Duplicate Emails
  5. Since

Description

Filter whether Email Users should send the same message to the same email address if it is attached to different entries.

Usage

add_filter( 'gpeu_send_to_duplicates', 'my_custom_function' );

Parameters

  • value boolean

    Whether or not to send to duplicate emails. Defaults to true.

  • form array

    The current form object.

  • entries array

    An array of entries for which an email will be sent.

  • email_options array

    Any array of options that will be used to generate and send the email (e.g. to, from, cc, etc.).

Example

Don’t Send to Duplicate Emails

add_filter( 'gpeu_send_to_duplicates', '__return_false' );

Since

This filter is available since Gravity Forms Email Users 1.3.1.