title: PHP string with link inside
body: <p>I have this Wordpress function:</p>
  <pre><code>function register_text( $translated ) {
      $translated = str_ireplace('Register',  'REGISTER',  $translated);
      return $translated;
  }
  
  add_filter(  'gettext',  'register_text'  );
  add_filter(  'ngettext',  'register_text'  );
  </code></pre>
  <p>I would like for &quot;REGISTER&quot; to be <code>&lt;a href=&quot;#register&quot;&gt;&lt;/a&gt; REGISTER</code></p>
  <p>The question would be I guess: how to add html inside that string.</p>
  <p>Thank you and sorry if this is too obvious. Total php newbie here</p>