llms_make_select2_student_array( array $user_ids = array(), string $template = '' )
Create an array that can be passed to metabox select elements configured as an llms-select2-student query-ier.
Description Description
Parameters Parameters
- $user_ids
-
(Optional) Indexed array of WordPress User IDs. Default is empty array.
Default value: array()
- $template
-
(Optional) A template to customize the way the results look. Default is empty string. %1$s = student name %2$s = student email.
Default value: ''
Return Return
(array)
Source Source
File: includes/llms.functions.core.php
Changelog Changelog
Version | Description |
---|---|
3.10.1 | Introduced. |