removing bottom admin link bar
-
Hi All,
Would it be technically correct to remove this code:
/*function _wp_admin_bar_init() {
global $wp_admin_bar;if ( ! is_admin_bar_showing() )
return false;require( ABSPATH . WPINC . ‘/class-wp-admin-bar.php’ );
$admin_bar_class = apply_filters( ‘wp_admin_bar_class’, ‘WP_Admin_Bar’ );
if ( class_exists( $admin_bar_class ) )
$wp_admin_bar = new $admin_bar_class;
else
return false;$wp_admin_bar->initialize();
$wp_admin_bar->add_menus();return true;
}*/
//add_action( ‘init’, ‘_wp_admin_bar_init’ ); // Don’t remove. Wrong way to disable.<<<<<<,,,———no idea why they say that!!In the /wp-included/wp-admin.php bar to remove all the links are the bottom of the page or could this cause problem in the long run?
Thank you,
Ben
- The topic ‘removing bottom admin link bar’ is closed to new replies.