title: How to add an attribute to a link created inside a Post in Wordpress?
body: <p>From a Post or Page inside Wordpress, you can add a link from the WYSIWYG toolbar, you know by clicking the chain icon.</p>
  
  <p>I would like to automatically add a data attribute to the link that is rendered by doing this. I can't seem to find where in WordPress this link gets created.</p>
  
  <p>This would need to be a function in the theme's directory, correct?</p>
  
  <p>Any ideas?</p>