Removes a member from a membership level
Parameters
- level_id (int) – The ID of the level to remove the member from
- member_id (int) – The ID of the member to remove
Return
Returns a multi-dimensional array containing the operation status.
Example Code
<?php
$member = wlmapi_remove_member_from_level(1344363854, 11);
print_r($member);
?>
Example Output
Array
(
[success] => 1
[supported_verbs] => Array
(
[0] => GET
[1] => PUT
[2] => DELETE
)
)
Notes
This functions returns WLMAPIMethods::wlmapi_remove_member_from_level($level_id, $member_id) in core/api-helper/class-api-methods.php
