apply_filters( 'llms_rest_instructor_roles', string[] $roles )

Filters the list of user roles served by the instructors REST endpoint.


Parameters Parameters

$roles

(string[]) List of role keys treated as instructors.


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/server/class-llms-rest-instructors-controller.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
1.0.6 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.