packages/kirki-framework/core/src/L10n.php
private function get_theme_textdomain() {
		if ( '' === $this->theme_textdomain ) {

			// Get the textdomain.
			$theme                  = wp_get_theme();
			$this->theme_textdomain = $theme->get( 'TextDomain' );

			// If no texdomain was found, use the template folder name.
			if ( ! $this->theme_textdomain ) {
				$this->theme_textdomain = get_template();
			}
		}
		return $this->theme_textdomain;
	}
private function get_theme_textdomain() {
		if ( '' === $this->theme_textdomain ) {

			// Get the textdomain.
			$theme                  = wp_get_theme();
			$this->theme_textdomain = $theme->get( 'TextDomain' );

			// If no texdomain was found, use the template folder name.
			if ( ! $this->theme_textdomain ) {
				$this->theme_textdomain = get_template();
			}
		}
		return $this->theme_textdomain;
	}
private function get_theme_textdomain ( ) { if ( '' === $ this -> theme_textdomain ) { // Get the textdomain. $ theme = wp_get_theme ( ) ; $ this -> theme_textdomain = $ theme -> get ( 'TextDomain' ) ; // If no texdomain was found, use the template folder name. if ( ! $ this -> theme_textdomain ) { $ this -> theme_textdomain = get_template ( ) ; } } return $ this -> theme_textdomain ; }
Get the theme's textdomain.

@since 3.0.12
@access private
@return string
Get the theme s textdomain .