Changeset 3777551 for sikshya/trunk/src/Core/Plugin.php
- Timestamp:
- 11/01/2026 04:56:08 AM (8 days ago)
- File:
-
- 1 edited
-
sikshya/trunk/src/Core/Plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sikshya/trunk/src/Core/Plugin.php
r3751280 r3777551 336 336 \Sikshya\Services\CourseDeleteCascade::init(); 337 337 338 // User deprovisioning — one named event (`sikshya_user_deprovisioned`) 339 // for a person being removed, so open enrolments close, Pro can 340 // release their group seat, and the audit log can record who left and 341 // when. Without it a deleted employee kept their seat forever. 342 \Sikshya\Services\UserDeprovisionService::init(); 343 344 // Importing from another LMS. Free on purpose: charging somebody to 345 // bring their own course library to us would be a strange toll to put 346 // on the way in. 347 if (defined('WP_CLI') && WP_CLI) { 348 \Sikshya\Import\ImportCli::register(); 349 } 350 351 // Selling courses through WooCommerce. The hooks are WooCommerce's 352 // own, so on a site without it nothing here ever runs. 353 \Sikshya\Integrations\WooCommerce\WooCommerceBridge::register(); 354 338 355 // Bust the cached single-course student count when enrollments change. 339 356 $invalidateStudentCount = static function ($user_id, $course_id) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)