Hey vitaelis,
Short answer, not really. The avatar rating is part of WordPress core. Avatar Manager overrides the get_avatar() function to pull a self-hosted image instead of Gravatar without affecting or limiting any core functionalities.
An workaround would be to simply hide it via CSS or replace the avatar rating part with a hidden input.
<input type="hidden" name="avatar_manager_custom_avatar_rating" value="G">
If this works for you the best option would be to copy the avatar_manager_edit_user_profile()
function to your theme/plugin and change it there. Use add_action()
/remove_action()
functions to add your customized action action.
// Remove Avatar Manager actions
remove_action( 'edit_user_profile', 'avatar_manager_edit_user_profile' );
remove_action( 'edit_user_profile', 'avatar_manager_edit_user_profile' );
// Replace with your modified actions
add_action( 'edit_user_profile', 'my_avatar_manager_edit_user_profile' );
add_action( 'show_user_profile', 'my_avatar_manager_edit_user_profile' );
This way you can always update Avatar Manager to newer versions without getting your modifications rolled back. Please let me know if this helps.
Best,
C?t?lin