Function Reference: wlmapi_update_level_member_data Updates a member’s membership level data according to the specified arguments. Parameters level_id (int) – The ID of the level to... Read More
Function Reference: wlmapi_get_level_post_type Retrieves all posts of the specified post type associated with the specified level. Parameters level_id (int) – The ID of the... Read More
Function Reference: wlmapi_add_post_to_level Gives a membership level access to the specified post according to the specified arguments. Parameters level_id (int) – The ID of... Read More
Function Reference: wlmapi_remove_post_from_level Removes a membership level’s access to the specified post. Parameters level_id (int) – The ID of the level to remove the... Read More
Function Reference: wlmapi_get_level_pages Retrieves all pages associated with the specified level. Parameters level_id (int) – The ID of the level to retrieve pages from... Read More
Function Reference: wlmapi_add_page_to_level Gives a membership level access to the specified page according to the specified arguments. Parameters level_id (int) – The ID of... Read More
Function Reference: wlmapi_remove_page_from_level Removes a membership level’s access to the specified page. Parameters level_id (int) – The ID of the level to remove the... Read More
Function Reference: wlmapi_get_level_commented_posts Retrieves all posts with comments associated with the specified level. Parameters level_id (int) – The ID of the level to retrieve... Read More
Function Reference: wlmapi_add_posts_comments_to_level Gives a membership level access to the specified post’s comments according to the specified arguments. Parameters level_id (int) – The ID... Read More
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... Read More
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... Read More
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... Read More
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... Read More
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... Read More
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.... Read More