removeShortcode() 공개 정적인 메소드

Removes a shortcode handler
public static removeShortcode ( string $tag )
$tag string the shortcode tag
예제 #1
0
파일: PostTest.php 프로젝트: jgrossi/corcel
 public function testRemoveShortcode()
 {
     Post::removeShortcode('gallery');
     $post = Post::find(123);
     $this->assertEquals($post->content, 'test [gallery id="123" size="medium"] shortcodes');
 }