Assume that $\mathbb{P}\in HOD$ is non-trivial. It is well-known that if $\mathbb{P}$ satisfies some homogeneity properties, then $HOD^{V[G]} \subseteq V$, where $G$ is $\mathbb{P}$-generic over $V$.
Question. Is there a necessary and sufficient condition on $\mathbb{P}$ implying $HOD^{V[G]} \subseteq V$, whenever $G$ is $\mathbb{P}$-generic over $V$?