WP-4712 Changed to call module_invoke_all to get all restricted page info.