Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author C?t?lin Dogaru

    (@cdog)

    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

    Plugin Author C?t?lin Dogaru

    (@cdog)

    Closing this, I don’t think I can do anything like this in the plugin. If any suggestions please reopen.

    Thread Starter vitaelis

    (@vitaelis)

    Thank you very much.

    And plus.. You are doing an awesome job dude.

    Congrats. I will write whatever idea i can develop about your plugin while im using it.

    See you.

    Plugin Author C?t?lin Dogaru

    (@cdog)

    Great! Glad I was able to help! If you want to show some support too there’s more you can do.

    Best,
    C?t?lin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Are We Able To Remove Avatar Rating Part Completely?’ is closed to new replies.