'; $output .= ''; foreach ($pages as $page) { $select_page = ''; if (isset($settings[$name]) && $page->ID == $settings[$name]) { $select_page = ' selected="selected"'; } $output .= ''; } $output .= ''; return $output; } /** * create raas admin UI * * @global type $lr_raas_settings * @global type $loginRadiusLoginIsBpActive */ public static function render_options_page() { global $lr_raas_settings, $loginRadiusLoginIsBpActive; $args = array( 'sort_order' => 'ASC', 'sort_column' => 'post_title', 'hierarchical' => 1, 'exclude' => '', 'include' => '', 'meta_key' => '', 'meta_value' => '', 'authors' => '', 'child_of' => 0, 'parent' => -1, 'exclude_tree' => '', 'number' => '', 'offset' => 0, 'post_type' => 'page', 'post_status' => 'publish' ); $pages = get_pages($args); LR_Raas::reset_options(); $lr_raas_settings = get_option('LR_Raas_Settings'); $loginRadiusSettings = get_option('LoginRadius_settings'); ?>