Ukázka kódu 2693

Shortcode

$content = preg_replace( 
	'/^(<\/(p|div)>)(.*)(<(p|div)[^>]*>)$/si', 
     "\\3", 
      $content 
);