by

Remove WordPress Logo

October 14, 2016 in Uncategorized

add_action('admin_bar_menu', 'remove_wp_logo', 999); function remove_wp_logo( $wp_admin_bar ) { $wp_admin_bar->remove_node('wp-logo'); } ou miex /** * add_filter(‘show_admin_bar’, ‘__return_false’); * / /* Disable WordPress Admin Bar for all users but admins. */ /* show_admin_bar(false); */ add_filter('show_admin_bar', '__return_false'); /** * add_action( 'admin_bar_menu', 'remove_wp_logo', 999 ); * function remove_wp_logo( $wp_admin_bar ) { * $wp_admin_bar->remove_node( 'wp-logo' ); * } */ add_action( 'admin_bar_menu', 'remove_wp_logo', 999 ); function remove_wp_logo( $wp_admin_bar ) { $wp_admin_bar->remove_node( 'wp-logo' ); }

Comments are closed.