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.
Example Code
<?php
$pages = wlmapi_unprotect_page(145);
print_r($pages);
?>
Example Output
Array
(
[success] => 1
[supported_verbs] => Array
(
[0] => DELETE
)
)
Notes
This functions returns WLMAPIMethods::unprotect_page($page_id) in core/api-helper/class-api-methods.php
