does anyone know where the Delete comment tooltip is generated. I have a requirement that all comments are not deleted except as an Admin user.
Where would be the bets place to look for this functionality?
does anyone know where the Delete comment tooltip is generated. I have a requirement that all comments are not deleted except as an Admin user.
Where would be the bets place to look for this functionality?
Hi guys,
does anyone know where the Delete comment tooltip is generated. I have a requirement that all comments are not deleted except as an Admin user.
Where would be the bets place to look for this functionality?
redefined the conditions to display the delete button.
from Line 111
if ( $isOwnerAuthorized || $isModerator || (int) OW::getUser()->getId() === (int) $value->getUserId() )
to
if ( $isOwnerAuthorized || $isModerator )