Automatically Add Link Attributes in WordPress
In 2019, Google announced two new link attributes to mark sponsored and user-generated content on your webpage or blog. In this article, I’ll share with you a code snippet that can automatically add link attributes to any existing links.