I’ve added the Ultimate Member plugin to my site. The plugin has added a few features, such as the ‘image on hover’ effect in the WordPress menu. Even though it doesn’t do anything, an ‘Item-Image’ appears above the menu. How can I disable it so that it doesn’t appear? I can’t find anything about this in the documentation.
Thank you very much
The page I need help with: [log in to see the link]
Do you mean the avatar image in the dropdown menu with the “Edit Profile” and “Log Out” links?
This is native WordPress functionality. See function wp_admin_bar_my_account_menu. You can disable this submenu using the code snippet:
// Disable the "My Account" submenu item in the WP_Admin_Bar. add_action( 'get_header', function () { remove_action( 'admin_bar_menu', 'wp_admin_bar_my_account_menu', 0 ); } );
If you meant a different image, please take a screenshot to clarify the issue.