Hi, I have tried to remove ATUM top bar menu through the following codes without success:
function custom_front_css() {
echo "<style>
/inventory button at front/
#wp-admin-bar-atum-dashboard {
display: none;
}
</style>";
}
add_action('wp_head', 'custom_front_css');
function custom_admin_css() {
echo "<style>
#wp-admin-bar-atum-dashboard {
display: none;
}
</style>";
}
add_action('admin_head', 'custom_admin_css');
function remove_top_bar_buttons( $wp_admin_bar ) {
$wp_admin_bar->remove_node( 'atum-dashboard' );
}
add_action( 'admin_bar_menu', 'remove_top_bar_buttons', 9999 );
Would you know why none of these default Wordpress codes worked since they work for many other plugins? Thank you! ;-)