Retrieves all pages that have been protected.
Parameters
There are no parameters for this function
Return
Returns a multi-dimensional array containing data for each protected page.
Example Code
<?php $pages = wlmapi_get_protected_pages(); print_r($pages); ?>
Example Output
Array ( [success] => 1 [pages] => Array ( [page] => Array ( [0] => stdClass Object ( [ID] => 145 [name] => Chat ) [1] => stdClass Object ( [ID] => 159 [name] => News Feed ) ) ) [supported_verbs] => Array ( [0] => GET [1] => POST ) )
Notes
This functions returns WLMAPIMethods::get_protected_pages($level_id) in core/api-helper/class-api-methods.php