LAFU Sales Reports for WooCommerce sends order summaries on the days you choose each month. Reports include paid orders in a clear from–through date range (site timezone), with CSV and PDF attachments.
wp_mail delivery (SMTP plugins supported).Requires WooCommerce 7.0+. Tested with WooCommerce 9.8 and WordPress 7.0.
The plugin exposes a small, stable API so other plugins can reuse the report engine. The plugin itself still ships and uses a single report; these are extension points only.
LAFU_SRFW_Plugin::run_report( array $settings, string $mode = 'manual', array $range = null ) — generate and email a report from your own settings array.LAFU_SRFW_Plugin::get_report_setting_defaults() — the default settings shape.LAFU_SRFW_Plugin::sanitize_report_settings( array $data ) — sanitize an arbitrary settings array into the canonical shape.LAFU_SRFW_Plugin::compute_report_range( array $settings, bool $is_manual = false ) — the date range a report would use.do_action( 'lafu_srfw_run_scheduled_reports', int $today_dom ) — fires daily so add-ons can run extra scheduled reports.The global instance is available as $GLOBALS['lafu_srfw_plugin'].