How to make short codes? php
<p>I want to make short codes, like a wordpress...</p>

<p>Sample:</p>

<blockquote>
  <p>[CODE]</p>
</blockquote>

<p>will be replaced to</p>

<blockquote>
  <p>code();</p>
</blockquote>
