how to disable profile menu admin wordpress code example
Example: disable admin bar wordpress
/* Disable WordPress Admin Bar for all users */
add_filter( 'show_admin_bar', '__return_false' );
/* Disable WordPress Admin Bar for all users */
add_filter( 'show_admin_bar', '__return_false' );