Twitter\WordPress\Shortcodes\EmbeddedTweetVideo::init PHP Метод

init() публичный статический Метод

Attach handlers for Twitter embedded video
С версии: 1.0.0
public static init ( ) : void
Результат void
    public static function init()
    {
        $classname = get_called_class();
        // register our shortcode and its handler
        add_shortcode(self::SHORTCODE_TAG, array($classname, 'shortcodeHandler'));
        // Shortcode UI, if supported
        add_action('register_shortcode_ui', array($classname, 'shortcodeUI'), 5, 0);
    }