LearnPress Bulk Export
A WordPress plugin for LearnPress that enables administrators to bulk export student progress reports. Generates professional, dashboard-style PDF summaries featuring enrollment dates, lesson completion counts, and visual progress charts.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/tg12r/learnpress-bulk-export/archive/refs/heads/main.zipBulk PDF reports for LearnPress student progress.
What it does
Generate professional PDF reports for multiple LearnPress students at once. Includes donut charts, progress bars, enrollment dates, and optional course comparison tables.
Key features:
- Dashboard-style PDFs with visual progress tracking
- Bulk selection and course filtering
- Direct email delivery to students
- Course comparison for shared courses (2+ students)
- Debug mode for troubleshooting
Requirements
- WordPress 5.0+
- LearnPress 4.0+
- PHP 7.4+
Install
- Download the latest release
- Upload via WordPress Admin → Plugins → Add New
- Activate
Or clone directly:
cd wp-content/plugins
git clone https://github.com/TG12r/Learnpress-Bulk-Export.git
Usage
- Navigate to LearnPress → Bulk Export
- Search and select students
- Click "View Courses" to choose which courses to include
- Click Export PDF or Send Email to Students
Pro tips:
- Press Enter to search
- Use "Clear All" to reset selections
- Enable "Debug Mode" if something breaks
FAQ
Q: Can I customize the PDF design?
A: Yes. Edit includes/class-lp-bulk-export-ajax.php
Q: What if a student has no courses?
A: PDF shows "No courses enrolled yet"
Q: Timeout on large exports?
A: Increase PHP max_execution_time and memory_limit
Q: Unicode issues?
A: Plugin uses iconv with TRANSLIT flag. Some special characters may not render perfectly.
Development
learnpress-bulk-export/
├── admin/ # UI and styles
├── assets/js/ # Frontend JavaScript
├── includes/ # PHP logic and PDF generation
│ ├── class-lp-bulk-export-ajax.php # Core functionality
│ └── fpdf/ # PDF library
└── learnpress-bulk-export.php # Plugin entry
Contributing:
PRs welcome. Follow WordPress coding standards. No 500-line functions without comments.
See CONTRIBUTING.md for details.
Known Issues
- Large PDFs (100+ pages) may timeout on low-resource servers
- Some UTF-8 characters render imperfectly (FPDF limitation)
License
GPL-2.0-or-later
Support
Made with ❤️ for the LearnPress community