Beispiel #1
0
 /**
  * Register JavaScript during the enqueue scripts action
  *
  * @since 1.0.0
  *
  * @return void
  */
 public static function registerScripts()
 {
     // widgets.js
     \Twitter\WordPress\JavaScriptLoaders\Widgets::register();
     // ad tracker
     \Twitter\WordPress\JavaScriptLoaders\Tracking::register();
 }
Beispiel #2
0
 /**
  * Register JavaScript during the enqueue scripts action
  *
  * @since 1.0.0
  *
  * @return void
  */
 public static function registerScripts()
 {
     // Twitter widgets
     \Twitter\WordPress\JavaScriptLoaders\Widgets::register();
     // Vine embed
     \Twitter\WordPress\JavaScriptLoaders\VineEmbed::register();
     // Twitter audience tracker and conversion
     \Twitter\WordPress\JavaScriptLoaders\Tracking::register();
 }