Filter the Admin Activity Email sections.


/**
 * Filter the Admin Activity Email sections.
 *
 * @since 2.3
 *
 * @param array  $email_sections Current sections of the email to be sent.
 * @param string $frequency Time period that this email will cover.
 * @param string $term Wording being used to convey $frequency throughout email.
 * @param string $report_start_date First date of data that report looks at (YYYY-MM-DD).
 * @param string $report_end_date Last date of data that report looks at (YYYY-MM-DD).
 * @param string $date_range Formatted date range based on site date format settings.
*/
apply_filters( 'pmpro_admin_activity_email_sections', $email_sections, $frequency, $term, $report_start_date, $report_end_date, $date_range );

Parameters

$email_sections
array
$frequency
string
$term
string
$report_start_date
string
$report_end_date
string
$date_range
string

Return Value

$email_sections


Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/classes/class-pmpro-admin-activity-email.php

View in Source Code