Removes a membership level's access to the specified page.
Parameters
- level_id (int) – The ID of the level to remove the page from
- page_id (int) – The ID of the page to remove access from
Return
Returns a multi-dimensional array containing operation status.
Example Code
<?php
$pages = wlmapi_remove_page_from_level(1340726008, 145);
print_r($pages);
?>
Example Output
Array
(
[success] => 1
[supported_verbs] => Array
(
[0] => GET
[1] => DELETE
)
)
Notes
This functions returns WLMAPIMethods::remove_page_from_level($level_id, $args) in core/api-helper/class-api-methods.php
