LLMS_Student_Bulk_Enroll::display_product_selection_for_bulk_users( string $which )
Displays ui for selecting product to bulk enroll users into
Parameters Parameters
- $which
-
(string) (Required)
Source Source
File: includes/admin/class.llms.student.bulk.enroll.php
public function display_product_selection_for_bulk_users( $which ) { // The attributes need to be different for top and bottom of the table. $id = 'bottom' === $which ? 'llms_bulk_enroll_product2' : 'llms_bulk_enroll_product'; $submit = 'bottom' === $which ? 'llms_bulk_enroll2' : 'llms_bulk_enroll'; ?> <div class="alignleft actions"> <label class="screen-reader-text" for="_llms_bulk_enroll_product"> <?php _e( 'Choose Course/Membership', 'lifterlms' ); ?> </label> <select id="<?php echo $id; ?>" class="llms-posts-select2 llms-bulk-enroll-product" data-post-type="llms_membership,course" name="<?php echo $id; ?>" style="min-width:200px;max-width:auto;"> </select> <input type="submit" name="<?php echo $submit; ?>" id="<?php echo $submit; ?>" class="button" value="<?php esc_attr_e( 'Enroll', 'lifterlms' ); ?>"> </div> <?php }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.20.0 | Introduced. |