Menghilangkan logo W di dashboard wordpress

Silakan tambahkan kode berikut didalam function.php
  function remove_admin_bar_links() {
    global $wp_admin_bar;
    $wp_admin_bar->remove_menu('wp-logo');          // Hapus WordPress logo
    $wp_admin_bar->remove_menu('about');            // Hapus about WordPress link
    $wp_admin_bar->remove_menu('wporg');            // Hapus WordPress.org link
    $wp_admin_bar->remove_menu('documentation');    // Hapus WordPress documentation link
    $wp_admin_bar->remove_menu('support-forums');   // Hapus support forums link
    $wp_admin_bar->remove_menu('feedback');         // Hapus feedback link
    $wp_admin_bar->remove_menu('site-name');        // Hapus site name menu
    $wp_admin_bar->remove_menu('view-site');        // Hapus view site link
    $wp_admin_bar->remove_menu('updates');          // Hapus updates link
    $wp_admin_bar->remove_menu('comments');         // Hapus comments link
    $wp_admin_bar->remove_menu('new-content');      // Hapus content link
    $wp_admin_bar->remove_menu('w3tc');             // Jika anda menggunakan w3 total cache Hapus performance link
    $wp_admin_bar->remove_menu('my-account');       // Hapus user details tab
}
add_action( 'wp_before_admin_bar_render', 'remove_admin_bar_links' );

Thanks for reading: Menghilangkan logo W di dashboard wordpress, Sorry, my English is bad:)

Getting Info...

Posting Komentar

Komentar
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.