- Home
- Knowledge Base
- API
- Function Reference
Function Reference
Function Reference: wlmapi_remove_comments_from_level
Removes a membership level's access to the specified post's comments. Parameters level_id (int) – The ID of the level to remove...
Function Reference: wlmapi_get_level_categories
Retrieves all categories associated with the specified level. Parameters level_id (int) – The ID of the level to retrieve categories from...
Function Reference: wlmapi_remove_category_from_level
Removes a membership level's access to the specified category. Parameters level_id (int) – The ID of the level to remove the...
Function Reference: wlmapi_get_protected_pages
Retrieves all pages that have been protected. Parameters There are no parameters for this function Return Returns a multi-dimensional array...
Function Reference: wlmapi_protect_page
Protects a page. Parameters args (array) – An array of accepted arguments specified below: Parameter Description Required Default ContentIds (array) An array...
Function Reference: wlmapi_unprotect_page
Un-protects a page. Parameters page_id (int) – The ID of the page to un-protect Return Returns a multi-dimensional array containing operation status....