Beispiel #1
0
 public function run()
 {
     Util\Template::init();
     Util\TemplateTags::init();
     Util\Images::init();
     Util\Shortcodes::init();
     Util\BootstrapNavMenu::init();
     Util\BootstrapGallery::init();
     Assets::instance()->run();
     Customizer::instance()->run();
     AJAX::instance()->run();
     PluginCompat::instance()->run();
     add_action('after_setup_theme', array($this, 'after_setup_theme'));
     add_action('widgets_init', array($this, 'widgets_init'));
 }
 public function customize_localize_script()
 {
     wp_localize_script('wp-starter-theme-customize-preview', lcfirst('WPStarterTheme'), array('nonces' => AJAX::instance()->get_nonces()));
 }