Filter query to get cancellation numbers in signups vs cancellations detailed report.
apply_filters( 'pmpro_reports_get_cancellations_sql', $sqlQuery, $period, $levels, $status );
- string; The current SQL
- string; Period for report. today, this month, this year, empty string for all time.
- array(int); Level IDs to include in report.
- array(string) Statuses to include as cancelled.