Code snippet for Divi theme
Login to your WordPress dashboard. Hover over ‘Divi’ and click ‘Theme Options’. Select ‘Integrations’.

Scroll down to ‘Add code to the < head > of your website box and paste the code.

<script type="text/javascript"> jQuery(document).ready(function($) { jQuery(".et-social-icon a").attr('target', 'blank'); }); </script>