gpns_recurring_ending_timestamp

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

Description

Filter the timestamp (Unix epoch) used to determine when recurring notifications should end.

Usage

Filter the ending timestamp for all forms using Notification Scheduler.

add_filter( 'gpns_recurring_ending_timestamp', 'my_custom_function' );

Filter the ending timestamp for a specific form using Notification Scheduler.

add_filter( 'gpns_recurring_ending_timestamp_FORMID', 'my_custom_function' );

Parameters

  • schedule_datetime int|null

    Unix epoch (seconds) that will be used as the time of when the notification should send. Can be null if recurring notifications are set to never end.

  • notification array

    The notification.

  • entry array

    The current entry.

  • current_time int

    The current server Unix epoch timestamp.

Since

This filter is available since Gravity Forms Notification Scheduler 1.3.7.