LLMS_Student_Bulk_Enroll::__construct()
Constructor
Contents
Source Source
File: includes/admin/class.llms.student.bulk.enroll.php
public function __construct() {
// Hook into extra ui on users table to display product selection.
add_action( 'manage_users_extra_tablenav', array( $this, 'display_product_selection_for_bulk_users' ) );
// Hook into users table screen to process bulk enrollment.
add_action( 'admin_head-users.php', array( $this, 'maybe_enroll_users_in_product' ) );
// Display enrollment results as notices.
add_action( 'admin_notices', array( $this, 'display_notices' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.20.0 | Introduced. |