How to remove the Good News theme panel link from the admin bar ?

You can remove the Good News link from the admin bar by adding this code to your child theme functions.php

function xt_child_remove_admin_bar_links() {
    global $wp_admin_bar;
    $wp_admin_bar->remove_node('goodnews_options');
}
add_action( 'wp_before_admin_bar_render', 'xt_child_remove_admin_bar_links' );
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us