How can I disable or remove gravatar?

Disabling gravatar is not available. You could potentially hide it via CSS, but that will only “disable” it in the UI. If you want to disable in the code too, you’ll have to write a plugin.

1 Like