Function Reference

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...

Function Reference: wlmapi_unprotect_post

Un-protects a post. Parameters post_id (int) – The ID of the post to un-protect Return Returns a multi-dimensional array containing operation...

Need Support?

Can't find the answer you're looking for?
Contact Support