Hey Everybody,
is it possible to get the id of a moodle_category under using the moodle API core_course_get_categories?
I have a Category with Name "Business English".
Yes i know, i can get the category with an sql-Statement
''' select id from mdl_course_categories where name = "Business English" '''
But i want to use the API. How can i do this?
PS: I use successfully different other APIs, example create_users, delete_users, create_courses, delete_courses, create_categories aso.
Thanks everybody for help !
General developer forum
Example for core_course_get_categories
This discussion has been locked so you can no longer reply to it.