PHP 클래스 Twitter\WordPress\Content\Buttons\Tweet

부터: 1.0.0
파일 보기 프로젝트 열기: twitter/wordpress

공개 메소드들

메소드 설명
contentFilter ( string $content ) : string Filter the_content, possibly adding Tweet button(s)

보호된 메소드들

메소드 설명
getOption ( ) : array Get the stored site option for Tweet button content

메소드 상세

contentFilter() 공개 정적인 메소드

Filter the_content, possibly adding Tweet button(s)
부터: 1.0.0
public static contentFilter ( string $content ) : string
$content string content of the current post
리턴 string $content content of the current post, possibly with Tweet button markup added

getOption() 보호된 정적인 메소드

Get the stored site option for Tweet button content
부터: 1.0.0
protected static getOption ( ) : array
리턴 array stored options { @type string option name @type string option value }