You are here

function opigno_lms_get_role_id in Opigno LMS 7

Get the default OG role ids.

Parameters

string $key:

Return value

int

Deprecated

Use the opigno_lms_get_og_role_id() function instead.

Related topics

1 call to opigno_lms_get_role_id()
_opigno_lms_hide_coach_checkbox in ./opigno_lms.profile
Hides the coach role checkbox by adding some inline CSS. This is only to simplify the administration interface.

File

./opigno_lms.profile, line 477
Enables modules and site configuration for a standard site installation. Provides a default API for Apps and modules to use. This will simplify the user experience.

Code

function opigno_lms_get_role_id($key) {
  return opigno_lms_get_og_role_id($key);
}