original_string: public static function init() {
  
  		if ( self::can_switch_themes() ) {
  			add_action( 'admin_bar_menu', array( __CLASS__, 'admin_bar_menu' ), 90 );
  			add_action( 'wp_ajax_tts_set_theme', array( __CLASS__, 'set_theme' ) );
  		}
  
  		load_plugin_textdomain( 'toolbar-theme-switcher', false, dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/lang' );
  	}
code: public static function init() {
  
  		if ( self::can_switch_themes() ) {
  			add_action( 'admin_bar_menu', array( __CLASS__, 'admin_bar_menu' ), 90 );
  			add_action( 'wp_ajax_tts_set_theme', array( __CLASS__, 'set_theme' ) );
  		}
  
  		load_plugin_textdomain( 'toolbar-theme-switcher', false, dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/lang' );
  	}
code_tokens: public static function init ( ) { if ( self :: can_switch_themes ( ) ) { add_action ( 'admin_bar_menu' , array ( __CLASS__ , 'admin_bar_menu' ) , 90 ) ; add_action ( 'wp_ajax_tts_set_theme' , array ( __CLASS__ , 'set_theme' ) ) ; } load_plugin_textdomain ( 'toolbar-theme-switcher' , false , dirname ( dirname ( plugin_basename ( __FILE__ ) ) ) . '/lang' ) ; }
docstring: Sets up hooks that doesn't need to happen early.
docstring_tokens: Sets up hooks that doesn t need to happen early .