Skip to main contentSkip to sidebarSkip to footer
F13.DEVFriday 13th development

F13Dev's Programming Blog

  • Home
  • WordPress Plugins
  • Projects
  • Programming Blog
  • Photography
  • Contact
  • LinkedIn (F13Dev)
  • GitHub (F13Dev)
  • WordPress (F13Dev)
  • X (F13Dev)
  • Instagram (F13Dev)
  • F13.DEV
  • Programming Blog

Posts in this blog can range from basic programming guides intended for those new to programming or related to subjects I have been working on through my day job to things that just spark my interests.

Add #HashTag and @UserName Twitter links to plain text

Twitter mobile application

This short and simple PHP function takes a plain text String as it’s input and returns rich text HTML. If any #HashTags, Twitter @UserNames or URLs are included within the input string then these are converted to clickable links to their Twitter counterpart.

Read more

29 June 2016 by jim


  • << Previous

You might like

  • WordPress Plugin: Music
  • AppCheck: Web Security Seminar - June 2023
  • WordPress Plugin: Table of Contents
  • OOP: Writing a class and creating objects
  • Wordpress Plugin: Twitter
  • WordPress plugin: Google Maps
  • PHP Loops
  • Add #HashTag and @UserName Twitter links to plain text
  • Accessing the WordPress JSON API
  • WordPress Plugin: reCaptcha
Navigation
  • Home
  • WordPress Plugins
  • Projects
  • Programming Blog
  • Photography
  • Contact
  • LinkedIn (F13Dev)
  • GitHub (F13Dev)
  • WordPress (F13Dev)
  • X (F13Dev)
  • Instagram (F13Dev)
Social links
  • LinkedIn
  • GitHub
  • WordPress
  • X (twitter)
  • Instagram
  • CodersRank
Information

Code snippets are released under the GNU General Public Licence V3. Any software available for public download will contain a text version of the license of which the software is relased under.

Friday 13th Development
F13.Dev © James Valentine 2015 - 2025

Read our Privacy policy or Accessability statement.