llms_get_instructors_defaults()
Retrieve default instructor data structure.
Return Return
(array)
Source Source
File: includes/llms.functions.core.php
*/
function llms_get_instructors_defaults() {
/**
* Filter the instructor's default data structure.
*
* @since 3.25.0
*
* @param array $product_visibility_options. An associative array representing the instructor's default data structure.
*/
return apply_filters(
'llms_post_instructors_get_defaults',
array(
'label' => __( 'Author', 'lifterlms' ),
'visibility' => 'visible',
'id' => '',
)
);
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.25.0 | Introduced. |