diff --git a/includes/features/admin-features.php b/includes/features/admin-features.php index 3053a65c..5ce63c01 100644 --- a/includes/features/admin-features.php +++ b/includes/features/admin-features.php @@ -29,7 +29,12 @@ $disabled_admin_items = !empty(get_option('capsman_disabled_admin_features')) ? (array)get_option('capsman_disabled_admin_features') : []; $disabled_admin_items = array_key_exists($default_role, $disabled_admin_items) ? (array)$disabled_admin_items[$default_role] : []; -$admin_features_elements = PP_Capabilities_Admin_Features::elementsLayout(); +$admin_features_elements = PP_Capabilities_Admin_Features::elementsLayout(); +$icon_list = (array)PP_Capabilities_Admin_Features::elementLayoutItemIcons(); +$title_lists = (array)PP_Capabilities_Admin_Features::elementLayoutItemTitles(); +$section_actions = (array)PP_Capabilities_Admin_Features::elementLayoutItemActions(); + +$active_tab_slug = (!empty($_REQUEST['pp_caps_tab'])) ? sanitize_key($_REQUEST['pp_caps_tab']) : 'headerandfooter'; ?>
+ class="button-primary ppc-admin-features-submit" style="float:right"/> @@ -315,14 +321,67 @@ class="button-primary ppc-admin-features-submit"/> + +