WordPress.org

Plugin Directory

Changeset 563757


Ignore:
Timestamp:
06/25/12 21:45:33 (22 months ago)
Author:
sLaNGjI
Message:
 
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-admin-bar-node-removal/trunk/wp-admin-bar-node-removal.php

    r560222 r563757  
    33Plugin Name: Admin Bar Node Removal 
    44Plugin URI: http://slangji.wordpress.com/wp-admin-bar-node-removal/ 
    5 Description: Completely Disable <code>Admin Bar Node</code>, Frontend, Backend, free memory and speedup dasboard on WordPress 3.1+ / 3.2+ (only). Work under GPLv2 License.     | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> 
    6 Version: 2012.0320.0159 
     5Description: Completely Disable <code>Admin Bar Node</code>, Frontend, Backend, free memory and speedup dasboard on WordPress 3.1+ / 3.2+ (only). Development Code in Becoming. Work under GPLv2 License. | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://slangji.wordpress.com/contact/" title="Send Me Bug and Suggestions">Contact</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> 
     6Version: 2012.0625.2344 
    77Author: sLa 
    88Author URI: http://slangji.wordpress.com/ 
     
    2929 *  The license for this software can be found @ http://www.gnu.org/licenses/gpl-2.0.html 
    3030 * 
     31 * Disclaimer: 
     32 * Development Code in Becoming. Always! 
     33 * 
    3134 * Copyright © 2012 [sLa](http://wordpress.org/extend/plugins/profile/slangji) (slangji[at]gmail[dot]com) 
    3235 */ 
     
    3538 * @subpackage WordPress PlugIn 
    3639 * @since 3.1.0 
    37  * @version 2012.0320.0159 
     40 * @version 2012.0625.2344 
    3841 * @author sLa 
    3942 * @license GPLv2 
     
    4144 * Completely Disable Admin Bar Node, Frontend, Backend, free memory and speedup dasboard. 
    4245 */ 
     46if(!function_exists('add_action')){header('HTTP/1.0 403 Forbidden');header('HTTP/1.1 403 Forbidden');exit();} 
     47 
    4348if ( !function_exists( 'hide_admin_bar_search' ) ) { 
     49 
    4450    function hide_admin_bar_search () { ?> 
    4551        <style type="text/css"> 
     
    4753        </style> 
    4854        <?php 
     55 
    4956    } 
    5057    add_action( 'admin_head', 'hide_admin_bar_search' ); 
     
    5259} 
    5360 
    54     function wpabnr () { global $wp_admin_bar; 
     61function wpabnr () { global $wp_admin_bar; 
     62 
    5563        $wp_admin_bar->remove_menu( 'get-shortlink' ); 
    5664        $wp_admin_bar->remove_menu( 'dashboard' ); 
     
    95103        $wp_admin_bar->remove_menu( 'search' ); 
    96104        $wp_admin_bar->remove_menu( 'network-admin' ); 
     105 
     106        // WordPress SEO by Yoast Node Removal 
     107        $wp_admin_bar->remove_menu( 'wpseo-menu' ); 
     108        $wp_admin_bar->remove_menu( 'wpseo-menu-default' ); 
     109        $wp_admin_bar->remove_menu( 'wpseo-kwresearch' ); 
     110        $wp_admin_bar->remove_menu( 'wpseo-kwresearch-default' ); 
     111        $wp_admin_bar->remove_menu( 'wpseo-adwordsexternal' ); 
     112        $wp_admin_bar->remove_menu( 'wpseo-googleinsights' ); 
     113        $wp_admin_bar->remove_menu( 'wpseo-wordtracker' ); 
     114        $wp_admin_bar->remove_menu( 'wpseo-settings' ); 
     115        $wp_admin_bar->remove_menu( 'wpseo-settings-default' ); 
     116        $wp_admin_bar->remove_menu( 'wpseo-titles' ); 
     117        $wp_admin_bar->remove_menu( 'wpseo-social' ); 
     118        $wp_admin_bar->remove_menu( 'wpseo-xml' ); 
     119        $wp_admin_bar->remove_menu( 'wpseo-permalinks' ); 
     120        $wp_admin_bar->remove_menu( 'wpseo-internal-links' ); 
     121        $wp_admin_bar->remove_menu( 'wpseo-rss' ); 
     122 
     123        // NextGen Gallery Node Removal 
     124        $wp_admin_bar->remove_menu( 'ngg-menu' ); 
     125        $wp_admin_bar->remove_menu( 'ngg-menu-default' ); 
     126        $wp_admin_bar->remove_menu( 'ngg-menu-overview' ); 
     127        $wp_admin_bar->remove_menu( 'ngg-menu-add-gallery' ); 
     128        $wp_admin_bar->remove_menu( 'ngg-menu-manage-gallery' ); 
     129        $wp_admin_bar->remove_menu( 'ngg-menu-manage-album' ); 
     130        $wp_admin_bar->remove_menu( 'ngg-menu-tags' ); 
     131        $wp_admin_bar->remove_menu( 'ngg-menu-options' ); 
     132        $wp_admin_bar->remove_menu( 'ngg-menu-style' ); 
     133        $wp_admin_bar->remove_menu( 'ngg-menu-about' ); 
     134 
     135        // CloudFlare Node Removal 
     136        $wp_admin_bar->remove_menu( 'cloudflare' ); 
     137        $wp_admin_bar->remove_menu( 'cloudflare-default' ); 
     138        $wp_admin_bar->remove_menu( 'cloudflare-my-websites' ); 
     139        $wp_admin_bar->remove_menu( 'cloudflare-analytics' ); 
     140        $wp_admin_bar->remove_menu( 'cloudflare-account' ); 
     141 
     142        // W3 Total Cache Node Removal 
    97143        $wp_admin_bar->remove_menu( 'w3tc' ); 
    98144        $wp_admin_bar->remove_menu( 'w3tc-default' ); 
     
    100146        $wp_admin_bar->remove_menu( 'w3tc-faq' ); 
    101147        $wp_admin_bar->remove_menu( 'w3tc-support' ); 
    102         $wp_admin_bar->remove_menu( 'cloudflare' ); 
    103         $wp_admin_bar->remove_menu( 'cloudflare-default' ); 
    104         $wp_admin_bar->remove_menu( 'cloudflare-my-websites' ); 
    105         $wp_admin_bar->remove_menu( 'cloudflare-analytics' ); 
    106         $wp_admin_bar->remove_menu( 'cloudflare-account' ); 
     148 
    107149    } 
    108150    add_action( 'wp_before_admin_bar_render', 'wpabnr' ); 
  • wp-toolbar-node-removal/trunk/wp-toolbar-node-removal.php

    r562824 r563757  
    33Plugin Name: ToolBar Node Removal 
    44Plugin URI: http://slangji.wordpress.com/wp-toolbar-node-removal/ 
    5 Description: Completely Disable <code>ToolBar Node</code>, Frontend, Backend, free memory and speedup dasboard on WordPress 3.3+ / 3.4+ (only). Development Code in Becoming. Work under GPLv2 License.      | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://slangji.wordpress.com/contact/" title="Send Me Bug and Suggestions">Contact</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> 
     5Description: Completely Disable <code>ToolBar Node</code>, Frontend, Backend, free memory and speedup dasboard on WordPress 3.3+ 3.4+ 3.4+ (only). Development Code in Becoming. Work under GPLv2 License. | <a href="http://slangji.wordpress.com/donate/" title="Free Donation">Donate</a> | <a href="http://slangji.wordpress.com/contact/" title="Send Me Bug and Suggestions">Contact</a> | <a href="http://wordpress.org/extend/plugins/wp-overview-lite/" title="Show Dashboard Overview and Footer Memory Load Usage">WP Overview?</a> | <a href="http://wordpress.org/extend/plugins/wp-missed-schedule/" title="Fix Missed Scheduled Future Posts Cron Job">WP Missed Schedule?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-removal/" title="Remove Admin Bar Frontend Backend User Profile and Code">Admin Bar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-admin-bar-node-removal/" title="Remove Admin Bar Frontend and Backend Node">Admin Bar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-removal/" title="Remove ToolBar Frontend Backend User Profile and Code">ToolBar Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-toolbar-node-removal/" title="Remove ToolBar Frontend and Backend Node">ToolBar Node Removal?</a> | <a href="http://wordpress.org/extend/plugins/wp-login-deindexing/" title="Total DeIndexing WordPress LogIn from all Search Engines">LogIn DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-total-deindexing/" title="Total DeIndexing WordPress from all Search Engines">WP DeIndexing?</a> | <a href="http://wordpress.org/extend/plugins/wp-ie-enhancer-and-modernizer/" title="Enhancer and Modernizer IE Surfing Expirience">Enhancer IE Surfing?</a> 
    66Version: 2012.0623.1124 
    77Author: sLa 
    88Author URI: http://slangji.wordpress.com/ 
    99Requires at least: 3.3 
    10 Tested up to: 3.4.1 
     10Tested up to: 3.5 
    1111License: GPLv2 
    1212 * 
     
    5252function wptbnr( $wp_toolbar ) { 
    5353 
    54     //$wp_toolbar->remove_node( '' ); 
    55  
    56     $wp_toolbar->remove_node( 'root-default' ); 
    57  
    58     $wp_toolbar->remove_node( 'wp-logo' ); 
    59     $wp_toolbar->remove_node( 'wp-logo-default' ); 
    60     $wp_toolbar->remove_node( 'about' ); 
    61     $wp_toolbar->remove_node( 'wp-logo-external' ); 
    62     $wp_toolbar->remove_node( 'wporg' ); 
    63     $wp_toolbar->remove_node( 'documentation' ); 
    64     $wp_toolbar->remove_node( 'support-forums' ); 
    65     $wp_toolbar->remove_node( 'feedback' ); 
    66  
    67     $wp_toolbar->remove_node( 'site-name' ); 
    68     $wp_toolbar->remove_node( 'site-name-default' ); 
    69     $wp_toolbar->remove_node( 'view-site' ); 
    70  
    71     $wp_toolbar->remove_node( 'comments' ); 
    72     $wp_toolbar->remove_node( 'updates' ); 
    73     $wp_toolbar->remove_node( 'view' ); 
    74  
    75     $wp_toolbar->remove_node( 'new-content' ); 
    76     $wp_toolbar->remove_node( 'new-content-default' ); 
    77     $wp_toolbar->remove_node( 'new-post' ); 
    78     $wp_toolbar->remove_node( 'new-media' ); 
    79     $wp_toolbar->remove_node( 'new-link' ); 
    80     $wp_toolbar->remove_node( 'new-page' ); 
    81     $wp_toolbar->remove_node( 'new-user' ); 
    82  
    83     $wp_toolbar->remove_node( 'top-secondary' ); 
    84     $wp_toolbar->remove_node( 'my-account' ); 
    85     $wp_toolbar->remove_node( 'user-actions' ); 
    86     $wp_toolbar->remove_node( 'user-info' ); 
    87     $wp_toolbar->remove_node( 'edit-profile' ); 
    88     $wp_toolbar->remove_node( 'logout' ); 
    89  
    90     $wp_toolbar->remove_node( 'search' ); 
    91     //$wp_toolbar->remove_node( 'network-admin' ); 
    92  
    93     // Network Multisite 
    94     $wp_toolbar->remove_node( 'my-sites' ); 
    95     $wp_toolbar->remove_node( 'my-sites-list' ); 
    96     $wp_toolbar->remove_node( 'blog-1' ); 
    97     $wp_toolbar->remove_node( 'blog-1-default' ); 
    98     $wp_toolbar->remove_node( 'blog-1-d' ); 
    99     $wp_toolbar->remove_node( 'blog-1-n' ); 
    100     $wp_toolbar->remove_node( 'blog-1-c' ); 
    101     $wp_toolbar->remove_node( 'blog-1-v' ); 
    102     $wp_toolbar->remove_node( 'blog-2' ); 
    103     $wp_toolbar->remove_node( 'blog-2-default' ); 
    104     $wp_toolbar->remove_node( 'blog-2-d' ); 
    105     $wp_toolbar->remove_node( 'blog-2-n' ); 
    106     $wp_toolbar->remove_node( 'blog-2-c' ); 
    107     $wp_toolbar->remove_node( 'blog-2-v' ); 
    108     $wp_toolbar->remove_node( 'blog-3' ); 
    109     $wp_toolbar->remove_node( 'blog-3-default' ); 
    110     $wp_toolbar->remove_node( 'blog-3-d' ); 
    111     $wp_toolbar->remove_node( 'blog-3-n' ); 
    112     $wp_toolbar->remove_node( 'blog-3-c' ); 
    113     $wp_toolbar->remove_node( 'blog-3-v' ); 
    114     $wp_toolbar->remove_node( 'blog-4' ); 
    115     $wp_toolbar->remove_node( 'blog-4-default' ); 
    116     $wp_toolbar->remove_node( 'blog-4-d' ); 
    117     $wp_toolbar->remove_node( 'blog-4-n' ); 
    118     $wp_toolbar->remove_node( 'blog-4-c' ); 
    119     $wp_toolbar->remove_node( 'blog-4-v' ); 
    120     $wp_toolbar->remove_node( 'blog-5' ); 
    121     $wp_toolbar->remove_node( 'blog-5-default' ); 
    122     $wp_toolbar->remove_node( 'blog-5-d' ); 
    123     $wp_toolbar->remove_node( 'blog-5-n' ); 
    124     $wp_toolbar->remove_node( 'blog-5-c' ); 
    125     $wp_toolbar->remove_node( 'blog-5-v' ); 
    126     $wp_toolbar->remove_node( 'blog-6' ); 
    127     $wp_toolbar->remove_node( 'blog-6-default' ); 
    128     $wp_toolbar->remove_node( 'blog-6-d' ); 
    129     $wp_toolbar->remove_node( 'blog-6-n' ); 
    130     $wp_toolbar->remove_node( 'blog-6-c' ); 
    131     $wp_toolbar->remove_node( 'blog-6-v' ); 
    132     $wp_toolbar->remove_node( 'blog-7' ); 
    133     $wp_toolbar->remove_node( 'blog-7-default' ); 
    134     $wp_toolbar->remove_node( 'blog-7-d' ); 
    135     $wp_toolbar->remove_node( 'blog-7-n' ); 
    136     $wp_toolbar->remove_node( 'blog-7-c' ); 
    137     $wp_toolbar->remove_node( 'blog-7-v' ); 
    138     $wp_toolbar->remove_node( 'blog-8' ); 
    139     $wp_toolbar->remove_node( 'blog-8-default' ); 
    140     $wp_toolbar->remove_node( 'blog-8-d' ); 
    141     $wp_toolbar->remove_node( 'blog-8-n' ); 
    142     $wp_toolbar->remove_node( 'blog-8-c' ); 
    143     $wp_toolbar->remove_node( 'blog-8-v' ); 
    144     $wp_toolbar->remove_node( 'blog-9' ); 
    145     $wp_toolbar->remove_node( 'blog-9-default' ); 
    146     $wp_toolbar->remove_node( 'blog-9-d' ); 
    147     $wp_toolbar->remove_node( 'blog-9-n' ); 
    148     $wp_toolbar->remove_node( 'blog-9-c' ); 
    149     $wp_toolbar->remove_node( 'blog-9-v' ); 
    150  
    151     // WP Super Cache 
    152     //$wp_toolbar->remove_node('delete-cache'); 
    153  
    154     // WordPress SEO by Yoast Node Removal 
    155     $wp_toolbar->remove_node( 'wpseo-menu' ); 
    156     $wp_toolbar->remove_node( 'wpseo-menu-default' ); 
    157     $wp_toolbar->remove_node( 'wpseo-kwresearch' ); 
    158     $wp_toolbar->remove_node( 'wpseo-kwresearch-default' ); 
    159     $wp_toolbar->remove_node( 'wpseo-adwordsexternal' ); 
    160     $wp_toolbar->remove_node( 'wpseo-googleinsights' ); 
    161     $wp_toolbar->remove_node( 'wpseo-wordtracker' ); 
    162     $wp_toolbar->remove_node( 'wpseo-settings' ); 
    163     $wp_toolbar->remove_node( 'wpseo-settings-default' ); 
    164     $wp_toolbar->remove_node( 'wpseo-titles' ); 
    165     $wp_toolbar->remove_node( 'wpseo-social' ); 
    166     $wp_toolbar->remove_node( 'wpseo-xml' ); 
    167     $wp_toolbar->remove_node( 'wpseo-permalinks' ); 
    168     $wp_toolbar->remove_node( 'wpseo-internal-links' ); 
    169     $wp_toolbar->remove_node( 'wpseo-rss' ); 
    170  
    171     // NextGen Gallery Node Removal 
    172     $wp_toolbar->remove_node( 'ngg-menu' ); 
    173     $wp_toolbar->remove_node( 'ngg-menu-default' ); 
    174     $wp_toolbar->remove_node( 'ngg-menu-overview' ); 
    175     $wp_toolbar->remove_node( 'ngg-menu-add-gallery' ); 
    176     $wp_toolbar->remove_node( 'ngg-menu-manage-gallery' ); 
    177     $wp_toolbar->remove_node( 'ngg-menu-manage-album' ); 
    178     $wp_toolbar->remove_node( 'ngg-menu-tags' ); 
    179     $wp_toolbar->remove_node( 'ngg-menu-options' ); 
    180     $wp_toolbar->remove_node( 'ngg-menu-style' ); 
    181     $wp_toolbar->remove_node( 'ngg-menu-about' ); 
    182  
    183     // CloudFlare Node Removal 
    184     $wp_toolbar->remove_node( 'cloudflare' ); 
    185     $wp_toolbar->remove_node( 'cloudflare-default' ); 
    186     $wp_toolbar->remove_node( 'cloudflare-my-websites' ); 
    187     $wp_toolbar->remove_node( 'cloudflare-analytics' ); 
    188     $wp_toolbar->remove_node( 'cloudflare-account' ); 
    189  
    190     // W3 Total Cache Node Removal 
    191     $wp_toolbar->remove_node( 'w3tc' ); 
    192     $wp_toolbar->remove_node( 'w3tc-default' ); 
    193     $wp_toolbar->remove_node( 'w3tc-empty-caches' ); 
    194     $wp_toolbar->remove_node( 'w3tc-faq' ); 
    195     $wp_toolbar->remove_node( 'w3tc-support' ); 
     54        //$wp_toolbar->remove_node( '' ); 
     55 
     56        $wp_toolbar->remove_node( 'root-default' ); 
     57 
     58        $wp_toolbar->remove_node( 'wp-logo' ); 
     59        $wp_toolbar->remove_node( 'wp-logo-default' ); 
     60        $wp_toolbar->remove_node( 'about' ); 
     61        $wp_toolbar->remove_node( 'wp-logo-external' ); 
     62        $wp_toolbar->remove_node( 'wporg' ); 
     63        $wp_toolbar->remove_node( 'documentation' ); 
     64        $wp_toolbar->remove_node( 'support-forums' ); 
     65        $wp_toolbar->remove_node( 'feedback' ); 
     66 
     67        $wp_toolbar->remove_node( 'site-name' ); 
     68        $wp_toolbar->remove_node( 'site-name-default' ); 
     69        $wp_toolbar->remove_node( 'view-site' ); 
     70 
     71        $wp_toolbar->remove_node( 'comments' ); 
     72        $wp_toolbar->remove_node( 'updates' ); 
     73        $wp_toolbar->remove_node( 'view' ); 
     74 
     75        $wp_toolbar->remove_node( 'new-content' ); 
     76        $wp_toolbar->remove_node( 'new-content-default' ); 
     77        $wp_toolbar->remove_node( 'new-post' ); 
     78        $wp_toolbar->remove_node( 'new-media' ); 
     79        $wp_toolbar->remove_node( 'new-link' ); 
     80        $wp_toolbar->remove_node( 'new-page' ); 
     81        $wp_toolbar->remove_node( 'new-user' ); 
     82 
     83        $wp_toolbar->remove_node( 'top-secondary' ); 
     84        $wp_toolbar->remove_node( 'my-account' ); 
     85        $wp_toolbar->remove_node( 'user-actions' ); 
     86        $wp_toolbar->remove_node( 'user-info' ); 
     87        $wp_toolbar->remove_node( 'edit-profile' ); 
     88        $wp_toolbar->remove_node( 'logout' ); 
     89 
     90        $wp_toolbar->remove_node( 'search' ); 
     91        //$wp_toolbar->remove_node( 'network-admin' ); 
     92 
     93        // Network Multisite 
     94        $wp_toolbar->remove_node( 'my-sites' ); 
     95        $wp_toolbar->remove_node( 'my-sites-list' ); 
     96        $wp_toolbar->remove_node( 'blog-1' ); 
     97        $wp_toolbar->remove_node( 'blog-1-default' ); 
     98        $wp_toolbar->remove_node( 'blog-1-d' ); 
     99        $wp_toolbar->remove_node( 'blog-1-n' ); 
     100        $wp_toolbar->remove_node( 'blog-1-c' ); 
     101        $wp_toolbar->remove_node( 'blog-1-v' ); 
     102        $wp_toolbar->remove_node( 'blog-2' ); 
     103        $wp_toolbar->remove_node( 'blog-2-default' ); 
     104        $wp_toolbar->remove_node( 'blog-2-d' ); 
     105        $wp_toolbar->remove_node( 'blog-2-n' ); 
     106        $wp_toolbar->remove_node( 'blog-2-c' ); 
     107        $wp_toolbar->remove_node( 'blog-2-v' ); 
     108        $wp_toolbar->remove_node( 'blog-3' ); 
     109        $wp_toolbar->remove_node( 'blog-3-default' ); 
     110        $wp_toolbar->remove_node( 'blog-3-d' ); 
     111        $wp_toolbar->remove_node( 'blog-3-n' ); 
     112        $wp_toolbar->remove_node( 'blog-3-c' ); 
     113        $wp_toolbar->remove_node( 'blog-3-v' ); 
     114        $wp_toolbar->remove_node( 'blog-4' ); 
     115        $wp_toolbar->remove_node( 'blog-4-default' ); 
     116        $wp_toolbar->remove_node( 'blog-4-d' ); 
     117        $wp_toolbar->remove_node( 'blog-4-n' ); 
     118        $wp_toolbar->remove_node( 'blog-4-c' ); 
     119        $wp_toolbar->remove_node( 'blog-4-v' ); 
     120        $wp_toolbar->remove_node( 'blog-5' ); 
     121        $wp_toolbar->remove_node( 'blog-5-default' ); 
     122        $wp_toolbar->remove_node( 'blog-5-d' ); 
     123        $wp_toolbar->remove_node( 'blog-5-n' ); 
     124        $wp_toolbar->remove_node( 'blog-5-c' ); 
     125        $wp_toolbar->remove_node( 'blog-5-v' ); 
     126        $wp_toolbar->remove_node( 'blog-6' ); 
     127        $wp_toolbar->remove_node( 'blog-6-default' ); 
     128        $wp_toolbar->remove_node( 'blog-6-d' ); 
     129        $wp_toolbar->remove_node( 'blog-6-n' ); 
     130        $wp_toolbar->remove_node( 'blog-6-c' ); 
     131        $wp_toolbar->remove_node( 'blog-6-v' ); 
     132        $wp_toolbar->remove_node( 'blog-7' ); 
     133        $wp_toolbar->remove_node( 'blog-7-default' ); 
     134        $wp_toolbar->remove_node( 'blog-7-d' ); 
     135        $wp_toolbar->remove_node( 'blog-7-n' ); 
     136        $wp_toolbar->remove_node( 'blog-7-c' ); 
     137        $wp_toolbar->remove_node( 'blog-7-v' ); 
     138        $wp_toolbar->remove_node( 'blog-8' ); 
     139        $wp_toolbar->remove_node( 'blog-8-default' ); 
     140        $wp_toolbar->remove_node( 'blog-8-d' ); 
     141        $wp_toolbar->remove_node( 'blog-8-n' ); 
     142        $wp_toolbar->remove_node( 'blog-8-c' ); 
     143        $wp_toolbar->remove_node( 'blog-8-v' ); 
     144        $wp_toolbar->remove_node( 'blog-9' ); 
     145        $wp_toolbar->remove_node( 'blog-9-default' ); 
     146        $wp_toolbar->remove_node( 'blog-9-d' ); 
     147        $wp_toolbar->remove_node( 'blog-9-n' ); 
     148        $wp_toolbar->remove_node( 'blog-9-c' ); 
     149        $wp_toolbar->remove_node( 'blog-9-v' ); 
     150 
     151        // WP Super Cache 
     152        //$wp_toolbar->remove_node('delete-cache'); 
     153 
     154        // WordPress SEO by Yoast Node Removal 
     155        $wp_toolbar->remove_node( 'wpseo-menu' ); 
     156        $wp_toolbar->remove_node( 'wpseo-menu-default' ); 
     157        $wp_toolbar->remove_node( 'wpseo-kwresearch' ); 
     158        $wp_toolbar->remove_node( 'wpseo-kwresearch-default' ); 
     159        $wp_toolbar->remove_node( 'wpseo-adwordsexternal' ); 
     160        $wp_toolbar->remove_node( 'wpseo-googleinsights' ); 
     161        $wp_toolbar->remove_node( 'wpseo-wordtracker' ); 
     162        $wp_toolbar->remove_node( 'wpseo-settings' ); 
     163        $wp_toolbar->remove_node( 'wpseo-settings-default' ); 
     164        $wp_toolbar->remove_node( 'wpseo-titles' ); 
     165        $wp_toolbar->remove_node( 'wpseo-social' ); 
     166        $wp_toolbar->remove_node( 'wpseo-xml' ); 
     167        $wp_toolbar->remove_node( 'wpseo-permalinks' ); 
     168        $wp_toolbar->remove_node( 'wpseo-internal-links' ); 
     169        $wp_toolbar->remove_node( 'wpseo-rss' ); 
     170 
     171        // NextGen Gallery Node Removal 
     172        $wp_toolbar->remove_node( 'ngg-menu' ); 
     173        $wp_toolbar->remove_node( 'ngg-menu-default' ); 
     174        $wp_toolbar->remove_node( 'ngg-menu-overview' ); 
     175        $wp_toolbar->remove_node( 'ngg-menu-add-gallery' ); 
     176        $wp_toolbar->remove_node( 'ngg-menu-manage-gallery' ); 
     177        $wp_toolbar->remove_node( 'ngg-menu-manage-album' ); 
     178        $wp_toolbar->remove_node( 'ngg-menu-tags' ); 
     179        $wp_toolbar->remove_node( 'ngg-menu-options' ); 
     180        $wp_toolbar->remove_node( 'ngg-menu-style' ); 
     181        $wp_toolbar->remove_node( 'ngg-menu-about' ); 
     182 
     183        // CloudFlare Node Removal 
     184        $wp_toolbar->remove_node( 'cloudflare' ); 
     185        $wp_toolbar->remove_node( 'cloudflare-default' ); 
     186        $wp_toolbar->remove_node( 'cloudflare-my-websites' ); 
     187        $wp_toolbar->remove_node( 'cloudflare-analytics' ); 
     188        $wp_toolbar->remove_node( 'cloudflare-account' ); 
     189 
     190        // W3 Total Cache Node Removal 
     191        $wp_toolbar->remove_node( 'w3tc' ); 
     192        $wp_toolbar->remove_node( 'w3tc-default' ); 
     193        $wp_toolbar->remove_node( 'w3tc-empty-caches' ); 
     194        $wp_toolbar->remove_node( 'w3tc-faq' ); 
     195        $wp_toolbar->remove_node( 'w3tc-support' ); 
    196196 
    197197    } 
     
    200200function wpabnr () { global $wp_admin_bar; 
    201201 
    202     //$wp_admin_bar->remove_menu( '' ); 
    203  
    204     $wp_admin_bar->remove_menu( 'root-default' ); 
    205     //$wp_admin_bar->remove_menu( 'network-admin' ); 
    206  
    207     // WP Super Cache Node Removal 
    208     $wp_admin_bar->remove_menu( 'delete-cache' ); 
     202        //$wp_admin_bar->remove_menu( '' ); 
     203 
     204        $wp_admin_bar->remove_menu( 'root-default' ); 
     205        $wp_admin_bar->remove_menu( 'network-admin' ); 
     206 
     207        // WP Super Cache Node Removal 
     208        $wp_admin_bar->remove_menu( 'delete-cache' ); 
    209209 
    210210    } 
     
    213213function wptbnr_nfo () { 
    214214 
    215     echo"\n<!--Plugin ToolBar Node Removal 2012.0623.1124 Active-->"; 
     215        echo"\n<!--Plugin ToolBar Node Removal 2012.0623.1124 Active-->"; 
    216216 
    217217    } 
Note: See TracChangeset for help on using the changeset viewer.