Reports Screen in Paid Memberships Pro. * * For each report, add a line like: * global $pmpro_reports; * $pmpro_reports['slug'] = 'Title'; * * For each report, also write two functions: * pmpro_report_{slug}_widget() to show up on the report homepage. * pmpro_report_{slug}_page() to show up when users click on the report page widget. * */ global $pmpro_reports; $pmpro_reports['sample'] = __('My Sample Report', 'pmpro-reports-extras'); // Sample Report for Metabox function pmpro_report_sample_widget() { ?>

Hi! I'm a sample report!

This report demonstrates how to add a custom report to PMPro. Enjoy!.