PHP Class Twitter\WordPress\Content\Buttons\Tweet

Since: 1.0.0
Afficher le fichier Open project: twitter/wordpress

Méthodes publiques

Méthode Description
contentFilter ( string $content ) : string Filter the_content, possibly adding Tweet button(s)

Méthodes protégées

Méthode Description
getOption ( ) : array Get the stored site option for Tweet button content

Method Details

contentFilter() public static méthode

Filter the_content, possibly adding Tweet button(s)
Since: 1.0.0
public static contentFilter ( string $content ) : string
$content string content of the current post
Résultat string $content content of the current post, possibly with Tweet button markup added

getOption() protected static méthode

Get the stored site option for Tweet button content
Since: 1.0.0
protected static getOption ( ) : array
Résultat array stored options { @type string option name @type string option value }