- Home
- Knowledge Base
- API
- Function Reference
Function Reference
Function Reference: wlmapi_remove_member_from_level
Removes a member from a membership level Parameters level_id (int) – The ID of the level to remove the member from...
Function Reference: wlmapi_get_level_posts
Retrieves all posts associated with the specified level. Parameters level_id (int) – The ID of the level to retrieve posts from...
Function Reference: wlmapi_the_level_posts
Retrieves all posts of the specified level passed through the filter: wlmapi_the_level_posts. If no filter is applied, this function will...
Function Reference: wlmapi_add_category_to_level
Gives a membership level access to the specified category. Parameters level_id (int) – The ID of the level to add categories...
Function Reference: wlmapi_get_protected_posts
Retrieves all posts that have been protected. Parameters There are no parameters for this function Return Returns a multi-dimensional array...
Function Reference: wlmapi_protect_post
Protects a post. Parameters args (array) – An array of accepted arguments specified below: Parameter Description Required Default ContentIds (array) An array...