Skip to content

Instantly share code, notes, and snippets.

@jehanf
Last active February 26, 2019 14:37
Show Gist options
  • Save jehanf/b2b992c0e45aff76c77cc1acc2b422b0 to your computer and use it in GitHub Desktop.
Save jehanf/b2b992c0e45aff76c77cc1acc2b422b0 to your computer and use it in GitHub Desktop.
Wordpress • Automatically adds No Follow / target='_blank" to all external links in post content / page content
@jehanf
Copy link
Author

jehanf commented Feb 26, 2019

Just include the file or load it with your autoloader and do a simple new AddNoFollowExternalLinks();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment