Skip to content

Instantly share code, notes, and snippets.

@adamfaux85
Created March 27, 2019 11:59
Show Gist options
  • Save adamfaux85/a9958a7b4a381d92e491255dcc388160 to your computer and use it in GitHub Desktop.
Save adamfaux85/a9958a7b4a381d92e491255dcc388160 to your computer and use it in GitHub Desktop.
PHP: Preg replace to add a data attribute to a link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment