Absolutely Glamorous Custom Admin - Version 1.2.6.4

Version Description

  • Removing plugin options on plugin uninstall instead of on plugin deactivation
  • Refreshed some button styles
  • "But show logout button" option auto-hiding
  • Fixed repeat login image bug
  • Fixed bug on loading news
Download this release

Release Info

Developer argonius
Plugin Icon 128x128 Absolutely Glamorous Custom Admin
Version 1.2.6.4
Comparing to
See all releases

Code changes from version 1.2.6.3 to 1.2.6.4

Files changed (4) hide show
  1. plugin.php +18 -82
  2. readme.txt +11 -1
  3. script/ag_script.js +46 -44
  4. uninstall.php +82 -0
plugin.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: AG Custom Admin
4
  Plugin URI: http://wordpress.org/extend/plugins/ag-custom-admin
5
  Description: Hide or change items in admin panel. Customize buttons from admin menu. Colorize admin and login page with custom colors.
6
  Author: Argonius
7
- Version: 1.2.6.3
8
  Author URI: http://wordpress.argonius.com/ag-custom-admin
9
 
10
  Copyright 2011. Argonius (email : info@argonius.com)
@@ -50,7 +50,7 @@ class AGCA{
50
  /*Initialize properties*/
51
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
52
  //fb($this->colorizer);
53
- $this->agca_version = "1.2.6.3";
54
  }
55
  // Add donate and support information
56
  function jk_filter_plugin_links($links, $file)
@@ -222,81 +222,7 @@ class AGCA{
222
  }
223
 
224
  function agca_deactivate() {
225
- delete_option( 'agca_role_allbutadmin' );
226
- delete_option( 'agca_screen_options_menu' );
227
- delete_option( 'agca_help_menu' );
228
- delete_option( 'agca_logout' );
229
- delete_option( 'agca_remove_your_profile' );
230
- delete_option( 'agca_logout_only' );
231
- delete_option( 'agca_options_menu' );
232
- delete_option( 'agca_howdy' );
233
- delete_option( 'agca_header' );
234
- delete_option( 'agca_header_show_logout' );
235
- delete_option( 'agca_footer' );
236
- delete_option( 'agca_privacy_options' );
237
- delete_option( 'agca_header_logo' );
238
- delete_option( 'agca_header_logo_custom' );
239
- delete_option( 'agca_wp_logo_custom' );
240
- delete_option( 'agca_wp_logo_custom_link' );
241
- delete_option( 'agca_site_heading' );
242
- delete_option( 'agca_custom_site_heading' );
243
- delete_option( 'agca_update_bar' );
244
 
245
- delete_option( 'agca_footer_left' );
246
- delete_option( 'agca_footer_left_hide' );
247
- delete_option( 'agca_footer_right' );
248
- delete_option( 'agca_footer_right_hide' );
249
-
250
- delete_option( 'agca_login_banner' );
251
- delete_option( 'agca_login_banner_text' );
252
- delete_option( 'agca_login_photo_remove' );
253
- delete_option( 'agca_login_photo_url' );
254
- delete_option( 'agca_login_photo_href' );
255
- delete_option( 'agca_login_round_box' );
256
- delete_option( 'agca_login_round_box_size' );
257
-
258
- delete_option( 'agca_dashboard_icon' );
259
- delete_option( 'agca_dashboard_text' );
260
- delete_option( 'agca_dashboard_text_paragraph' );
261
- delete_option( 'agca_dashboard_widget_welcome' );
262
- delete_option( 'agca_dashboard_widget_rc' );
263
- delete_option( 'agca_dashboard_widget_il' );
264
- delete_option( 'agca_dashboard_widget_plugins' );
265
- delete_option( 'agca_dashboard_widget_qp' );
266
- delete_option( 'agca_dashboard_widget_rn' );
267
- delete_option( 'agca_dashboard_widget_rd' );
268
- delete_option( 'agca_dashboard_widget_primary' );
269
- delete_option( 'agca_dashboard_widget_secondary' );
270
-
271
- //WP3.3
272
- delete_option( 'agca_admin_bar_comments' );
273
- delete_option( 'agca_admin_bar_new_content' );
274
- delete_option( 'agca_admin_bar_new_content_post' );
275
- delete_option( 'agca_admin_bar_new_content_link' );
276
- delete_option( 'agca_admin_bar_new_content_page' );
277
- delete_option( 'agca_admin_bar_new_content_user' );
278
- delete_option( 'agca_admin_bar_new_content_media' );
279
- delete_option( 'agca_admin_bar_update_notifications' );
280
- delete_option( 'agca_remove_top_bar_dropdowns' );
281
-
282
- /*Admin menu*/
283
- delete_option( 'agca_admin_menu_turnonoff' );
284
- delete_option( 'agca_admin_menu_agca_button_only' );
285
- delete_option( 'agca_admin_menu_separator_first' );
286
- delete_option( 'agca_admin_menu_separator_second' );
287
- delete_option( 'agca_admin_menu_icons' );
288
- delete_option( 'agca_admin_menu_arrow' );
289
- delete_option( 'agca_admin_menu_submenu_round' );
290
- delete_option( 'agca_admin_menu_submenu_round_size' );
291
- delete_option( 'agca_admin_menu_brand' );
292
- delete_option( 'agca_admin_menu_brand_link' );
293
- delete_option( 'ag_edit_adminmenu_json' );
294
- delete_option( 'ag_add_adminmenu_json' );
295
- delete_option( 'ag_colorizer_json' );
296
- delete_option( 'agca_colorizer_turnonoff' );
297
-
298
- delete_option( 'agca_custom_js' );
299
- delete_option( 'agca_custom_css' );
300
  }
301
 
302
  function getOptions(){
@@ -579,6 +505,7 @@ class AGCA{
579
  var wpversion = "<?php echo $wpversion; ?>";
580
  var agca_version = "<?php echo $this->agca_version; ?>";
581
  var jQueryScriptOutputted = false;
 
582
  function initJQuery() {
583
  //if the jQuery object isn't available
584
  if (typeof(jQuery) == 'undefined') {
@@ -860,6 +787,7 @@ var wpversion = "<?php echo $wpversion; ?>";
860
  var agca_version = "<?php echo $this->agca_version; ?>";
861
  var errors = false;
862
  var isSettingsImport = false;
 
863
 
864
  <?php
865
  if(isset($_POST['_agca_import_settings']) && $_POST['_agca_import_settings']=='true'){
@@ -1248,6 +1176,7 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
1248
  var agca_version = "<?php echo $this->agca_version; ?>";
1249
  var wpversion = "<?php echo $wpversion; ?>";
1250
  var isSettingsImport = false;
 
1251
  /* <![CDATA[ */
1252
  jQuery(document).ready(function() {
1253
  try{
@@ -1266,7 +1195,7 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
1266
  <?php if(get_option('agca_login_photo_url')==true){ ?>
1267
  advanced_url = "<?php echo get_option('agca_login_photo_url'); ?>";
1268
  var $url = "url(" + advanced_url + ")";
1269
- jQuery("#login h1 a").css("background",$url);
1270
  jQuery("#login h1 a").hide();
1271
  image = jQuery("<img />").attr("src",advanced_url);
1272
  jQuery(image).load(function() {
@@ -1402,10 +1331,17 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
1402
  <label tabindex="0" title="Hide admin bar with all elements in top of admin page" for="agca_header"><strong>Hide admin bar completely</strong></label>
1403
  </td>
1404
  <td>
1405
- <input type="checkbox" title="Hide admin bar with all elements in top of admin page" name="agca_header" value="true" <?php if (get_option('agca_header')==true) echo 'checked="checked" '; ?> />
1406
  </td>
1407
- </tr>
1408
- <tr valign="center" class="ag_table_major_options" >
 
 
 
 
 
 
 
1409
  <td>
1410
  <label tabindex="0" title='Check this if you want to show Log Out button in top right corner of admin page' for="agca_header_show_logout"><strong>(but show Log Out button)</strong></label>
1411
  </td>
@@ -1916,7 +1852,7 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
1916
  <tr>
1917
  <td colspan="2">
1918
  Reset to default values
1919
- <button type="button" id="ag_edit_adminmenu_reset_button" title="Reset menu settings to default values" name="ag_edit_adminmenu_reset_button">Reset Settings</button><br />
1920
  <p tabindex="0"><em>(click on menu link to show/hide its submenus below it)</em></p>
1921
  <table id="ag_edit_adminmenu">
1922
  <tr style="background-color:#999;">
@@ -2019,7 +1955,7 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
2019
  <option value="_parent">parent</option>
2020
  <option value="_top">top</option>
2021
  </select>
2022
- <button type="button" id="ag_add_adminmenu_button" title="Add new item button" name="ag_add_adminmenu_button">Add new item</button>
2023
  </td><td></td>
2024
  </tr>
2025
  </table>
4
  Plugin URI: http://wordpress.org/extend/plugins/ag-custom-admin
5
  Description: Hide or change items in admin panel. Customize buttons from admin menu. Colorize admin and login page with custom colors.
6
  Author: Argonius
7
+ Version: 1.2.6.4
8
  Author URI: http://wordpress.argonius.com/ag-custom-admin
9
 
10
  Copyright 2011. Argonius (email : info@argonius.com)
50
  /*Initialize properties*/
51
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
52
  //fb($this->colorizer);
53
+ $this->agca_version = "1.2.6.4";
54
  }
55
  // Add donate and support information
56
  function jk_filter_plugin_links($links, $file)
222
  }
223
 
224
  function agca_deactivate() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  }
227
 
228
  function getOptions(){
505
  var wpversion = "<?php echo $wpversion; ?>";
506
  var agca_version = "<?php echo $this->agca_version; ?>";
507
  var jQueryScriptOutputted = false;
508
+ var agca_context = "page";
509
  function initJQuery() {
510
  //if the jQuery object isn't available
511
  if (typeof(jQuery) == 'undefined') {
787
  var agca_version = "<?php echo $this->agca_version; ?>";
788
  var errors = false;
789
  var isSettingsImport = false;
790
+ var agca_context = "admin";
791
 
792
  <?php
793
  if(isset($_POST['_agca_import_settings']) && $_POST['_agca_import_settings']=='true'){
1176
  var agca_version = "<?php echo $this->agca_version; ?>";
1177
  var wpversion = "<?php echo $wpversion; ?>";
1178
  var isSettingsImport = false;
1179
+ var agca_context = "login";
1180
  /* <![CDATA[ */
1181
  jQuery(document).ready(function() {
1182
  try{
1195
  <?php if(get_option('agca_login_photo_url')==true){ ?>
1196
  advanced_url = "<?php echo get_option('agca_login_photo_url'); ?>";
1197
  var $url = "url(" + advanced_url + ")";
1198
+ jQuery("#login h1 a").css("background",$url+' no-repeat');
1199
  jQuery("#login h1 a").hide();
1200
  image = jQuery("<img />").attr("src",advanced_url);
1201
  jQuery(image).load(function() {
1331
  <label tabindex="0" title="Hide admin bar with all elements in top of admin page" for="agca_header"><strong>Hide admin bar completely</strong></label>
1332
  </td>
1333
  <td>
1334
+ <input id="agca_header" type="checkbox" onchange="if(jQuery('#agca_header').is(':checked')){jQuery('#agca_header_show_logout_content').show('slide');}else{jQuery('#agca_header_show_logout_content').hide('slide');};" title="Hide admin bar with all elements in top of admin page" name="agca_header" value="true" <?php if (get_option('agca_header')==true) echo 'checked="checked" '; ?> />
1335
  </td>
1336
+ </tr>
1337
+
1338
+ <?php
1339
+ $agca_header_show_logout_style= "style='display:none'";
1340
+ if (get_option('agca_header')==true){
1341
+ $agca_header_show_logout_style="";
1342
+ }
1343
+ ?>
1344
+ <tr valign="center" class="ag_table_major_options" id="agca_header_show_logout_content" <?php echo $agca_header_show_logout_style; ?> >
1345
  <td>
1346
  <label tabindex="0" title='Check this if you want to show Log Out button in top right corner of admin page' for="agca_header_show_logout"><strong>(but show Log Out button)</strong></label>
1347
  </td>
1852
  <tr>
1853
  <td colspan="2">
1854
  Reset to default values
1855
+ <input type="button" id="ag_edit_adminmenu_reset_button" title="Reset menu settings to default values" name="ag_edit_adminmenu_reset_button" value="Reset Settings" /><br />
1856
  <p tabindex="0"><em>(click on menu link to show/hide its submenus below it)</em></p>
1857
  <table id="ag_edit_adminmenu">
1858
  <tr style="background-color:#999;">
1955
  <option value="_parent">parent</option>
1956
  <option value="_top">top</option>
1957
  </select>
1958
+ <input type="button" id="ag_add_adminmenu_button" title="Add new item button" name="ag_add_adminmenu_button" value="Add new item" />
1959
  </td><td></td>
1960
  </tr>
1961
  </table>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wordpress.argonius.com/donate
4
  Tags: admin, customize, hide, change admin
5
  Requires at least: 3.0
6
  Tested up to: 3.4
7
- Stable tag: 1.2.6.3
8
 
9
  Hide or change items in admin panel. Customize buttons from admin menu. Colorize admin and login page with custom colors.
10
 
@@ -108,6 +108,13 @@ Try clearing browser's cache. If that does not work, go to browser's console and
108
 
109
  == Changelog ==
110
 
 
 
 
 
 
 
 
111
  = 1.2.6.3 =
112
  * Included colorizer ON/OFF option to exported settings
113
  * Automaticaly saving settings after importing
@@ -232,6 +239,9 @@ Try clearing browser's cache. If that does not work, go to browser's console and
232
 
233
  == Upgrade Notice ==
234
 
 
 
 
235
  = 1.2.6.3 =
236
  Fixed several bugs: Admin bar issues, not saving settings after import, changing Howdy text in other languages, colorizer ON/OFF option in settings export.
237
 
4
  Tags: admin, customize, hide, change admin
5
  Requires at least: 3.0
6
  Tested up to: 3.4
7
+ Stable tag: 1.2.6.4
8
 
9
  Hide or change items in admin panel. Customize buttons from admin menu. Colorize admin and login page with custom colors.
10
 
108
 
109
  == Changelog ==
110
 
111
+ = 1.2.6.4 =
112
+ * Removing plugin options on plugin uninstall instead of on plugin deactivation
113
+ * Refreshed some button styles
114
+ * "But show logout button" option auto-hiding
115
+ * Fixed repeat login image bug
116
+ * Fixed bug on loading news
117
+
118
  = 1.2.6.3 =
119
  * Included colorizer ON/OFF option to exported settings
120
  * Automaticaly saving settings after importing
239
 
240
  == Upgrade Notice ==
241
 
242
+ = 1.2.6.4 =
243
+ Bug fixes. Removing plugin's option on uninstall, not on deactivation.
244
+
245
  = 1.2.6.3 =
246
  Fixed several bugs: Admin bar issues, not saving settings after import, changing Howdy text in other languages, colorizer ON/OFF option in settings export.
247
 
script/ag_script.js CHANGED
@@ -312,7 +312,7 @@ jQuery(document).ready(function(){
312
  var target = jQuery(this).parent().find('button').attr('target');
313
  //console.log(target);
314
  editingButtonNow = name;
315
- jQuery(this).parent().append('<div id="temporary_button_edit">name:<input type="text" size="47" value="'+name+'" id="ag_add_adminmenu_name_edit" name="ag_add_adminmenu_name_edit" />url:<input type="text" size="47" value="'+url+'" id="ag_add_adminmenu_url_edit" name="ag_add_adminmenu_url_edit" />' + createTargetCombo(target,"edit")+ '<button type="button" id="ag_add_adminmenu_button_edit" name="ag_add_adminmenu_button_edit">Save changes</button></div>');
316
  reloadRemoveButtonEvents();
317
  }
318
  });/*Save editing changes*/
@@ -756,53 +756,55 @@ jQuery(document).ready(function(){
756
  jQuery(document).ready(function(){
757
  if(typeof isAGCAPage !== 'undefined'){
758
  if(isAGCAPage == true){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
759
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
760
  }
761
  }
762
- var url="http://wordpress.argonius.com/agca/news.php/news?jsoncallback=?";
763
- jQuery.getJSON(
764
- url,{
765
- wp_ver: wpversion,
766
- agca_ver: agca_version,
767
- format: "json"
768
- },
769
- function(json){
770
- jQuery.each(json.posts,function(i,post){
771
- jQuery('#agca_news').append('<p><strong>Info: </strong>'+post.news+'</p>');
772
- });
773
- jQuery('#agca_news p').each(function(){
774
- jQuery(this).hide();
775
- });
776
-
777
- });
778
  });
779
- setInterval(function() {
780
- if(jQuery('#agca_news p.news_online').size() == 0){
781
- jQuery('#agca_news p:first').addClass('news_online');
782
- jQuery('#agca_news p:first').show();
783
- }else{
784
- var changed = false;
785
- var finish = false;
786
- jQuery('#agca_news p').each(function(){
787
- if(finish != true){
788
- if(changed == true){
789
- jQuery(this).addClass('news_online');
790
- jQuery(this).show();
791
- finish = true;
792
- }
793
- else if(jQuery(this).hasClass('news_online')){
794
- jQuery(this).hide();
795
- jQuery(this).removeClass('news_online');
796
- changed = true;
797
- };
798
- }
799
- });
800
- if(jQuery('#agca_news p.news_online').size() == 0){
801
- jQuery('#agca_news p:first').addClass('news_online');
802
- jQuery('#agca_news p:first').show();
803
- }
804
- }
805
- }, 5000);
806
 
807
  });
808
  /*A J A X*/
312
  var target = jQuery(this).parent().find('button').attr('target');
313
  //console.log(target);
314
  editingButtonNow = name;
315
+ jQuery(this).parent().append('<div id="temporary_button_edit">name:<input type="text" size="47" value="'+name+'" id="ag_add_adminmenu_name_edit" name="ag_add_adminmenu_name_edit" />url:<input type="text" size="47" value="'+url+'" id="ag_add_adminmenu_url_edit" name="ag_add_adminmenu_url_edit" />' + createTargetCombo(target,"edit")+ '<input type="button" id="ag_add_adminmenu_button_edit" name="ag_add_adminmenu_button_edit" value="Save changes" /></div>');
316
  reloadRemoveButtonEvents();
317
  }
318
  });/*Save editing changes*/
756
  jQuery(document).ready(function(){
757
  if(typeof isAGCAPage !== 'undefined'){
758
  if(isAGCAPage == true){
759
+ var url="http://wordpress.argonius.com/agca/info.php/info?jsoncallback=?";
760
+ jQuery.getJSON(
761
+ url,{
762
+ wp_ver: wpversion,
763
+ agca_ver: agca_version,
764
+ format: "json"
765
+ },
766
+ function(json){
767
+ jQuery.each(json.posts,function(i,post){
768
+ jQuery('#agca_news').append('<p><strong>Info: </strong>'+post.news+'</p>');
769
+ });
770
+ jQuery('#agca_news p').each(function(){
771
+ jQuery(this).hide();
772
+ });
773
 
774
+ });
775
+
776
+ setInterval(function() {
777
+ if(jQuery('#agca_news p.news_online').size() == 0){
778
+ jQuery('#agca_news p:first').addClass('news_online');
779
+ jQuery('#agca_news p:first').show();
780
+ }else{
781
+ var changed = false;
782
+ var finish = false;
783
+ jQuery('#agca_news p').each(function(){
784
+ if(finish != true){
785
+ if(changed == true){
786
+ jQuery(this).addClass('news_online');
787
+ jQuery(this).show();
788
+ finish = true;
789
+ }
790
+ else if(jQuery(this).hasClass('news_online')){
791
+ jQuery(this).hide();
792
+ jQuery(this).removeClass('news_online');
793
+ changed = true;
794
+ };
795
+ }
796
+ });
797
+ if(jQuery('#agca_news p.news_online').size() == 0){
798
+ jQuery('#agca_news p:first').addClass('news_online');
799
+ jQuery('#agca_news p:first').show();
800
+ }
801
+ }
802
+ }, 5000);
803
  }
804
  }
805
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
806
  });
807
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
808
 
809
  });
810
  /*A J A X*/
uninstall.php ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ // die if not uninstalling
3
+ if( !defined( 'WP_UNINSTALL_PLUGIN' ) )
4
+ exit ();
5
+
6
+ delete_option( 'agca_role_allbutadmin' );
7
+ delete_option( 'agca_screen_options_menu' );
8
+ delete_option( 'agca_help_menu' );
9
+ delete_option( 'agca_logout' );
10
+ delete_option( 'agca_remove_your_profile' );
11
+ delete_option( 'agca_logout_only' );
12
+ delete_option( 'agca_options_menu' );
13
+ delete_option( 'agca_howdy' );
14
+ delete_option( 'agca_header' );
15
+ delete_option( 'agca_header_show_logout' );
16
+ delete_option( 'agca_footer' );
17
+ delete_option( 'agca_privacy_options' );
18
+ delete_option( 'agca_header_logo' );
19
+ delete_option( 'agca_header_logo_custom' );
20
+ delete_option( 'agca_wp_logo_custom' );
21
+ delete_option( 'agca_wp_logo_custom_link' );
22
+ delete_option( 'agca_site_heading' );
23
+ delete_option( 'agca_custom_site_heading' );
24
+ delete_option( 'agca_update_bar' );
25
+
26
+ delete_option( 'agca_footer_left' );
27
+ delete_option( 'agca_footer_left_hide' );
28
+ delete_option( 'agca_footer_right' );
29
+ delete_option( 'agca_footer_right_hide' );
30
+
31
+ delete_option( 'agca_login_banner' );
32
+ delete_option( 'agca_login_banner_text' );
33
+ delete_option( 'agca_login_photo_remove' );
34
+ delete_option( 'agca_login_photo_url' );
35
+ delete_option( 'agca_login_photo_href' );
36
+ delete_option( 'agca_login_round_box' );
37
+ delete_option( 'agca_login_round_box_size' );
38
+
39
+ delete_option( 'agca_dashboard_icon' );
40
+ delete_option( 'agca_dashboard_text' );
41
+ delete_option( 'agca_dashboard_text_paragraph' );
42
+ delete_option( 'agca_dashboard_widget_welcome' );
43
+ delete_option( 'agca_dashboard_widget_rc' );
44
+ delete_option( 'agca_dashboard_widget_il' );
45
+ delete_option( 'agca_dashboard_widget_plugins' );
46
+ delete_option( 'agca_dashboard_widget_qp' );
47
+ delete_option( 'agca_dashboard_widget_rn' );
48
+ delete_option( 'agca_dashboard_widget_rd' );
49
+ delete_option( 'agca_dashboard_widget_primary' );
50
+ delete_option( 'agca_dashboard_widget_secondary' );
51
+
52
+ //WP3.3
53
+ delete_option( 'agca_admin_bar_comments' );
54
+ delete_option( 'agca_admin_bar_new_content' );
55
+ delete_option( 'agca_admin_bar_new_content_post' );
56
+ delete_option( 'agca_admin_bar_new_content_link' );
57
+ delete_option( 'agca_admin_bar_new_content_page' );
58
+ delete_option( 'agca_admin_bar_new_content_user' );
59
+ delete_option( 'agca_admin_bar_new_content_media' );
60
+ delete_option( 'agca_admin_bar_update_notifications' );
61
+ delete_option( 'agca_remove_top_bar_dropdowns' );
62
+
63
+ /*Admin menu*/
64
+ delete_option( 'agca_admin_menu_turnonoff' );
65
+ delete_option( 'agca_admin_menu_agca_button_only' );
66
+ delete_option( 'agca_admin_menu_separator_first' );
67
+ delete_option( 'agca_admin_menu_separator_second' );
68
+ delete_option( 'agca_admin_menu_icons' );
69
+ delete_option( 'agca_admin_menu_arrow' );
70
+ delete_option( 'agca_admin_menu_submenu_round' );
71
+ delete_option( 'agca_admin_menu_submenu_round_size' );
72
+ delete_option( 'agca_admin_menu_brand' );
73
+ delete_option( 'agca_admin_menu_brand_link' );
74
+ delete_option( 'ag_edit_adminmenu_json' );
75
+ delete_option( 'ag_add_adminmenu_json' );
76
+ delete_option( 'ag_colorizer_json' );
77
+ delete_option( 'agca_colorizer_turnonoff' );
78
+
79
+ delete_option( 'agca_custom_js' );
80
+ delete_option( 'agca_custom_css' );
81
+ ?>
82
+