return true;
} $path =
$this->
get_stylesheet_directory();
$domainpath =
$this->
get( 'DomainPath'
);
if ( $domainpath ) { $path .=
$domainpath;
} else { $path .= '/languages';
} $this->textdomain_loaded =
load_theme_textdomain( $textdomain,
$path );
return $this->textdomain_loaded;
} /**
* Determines whether the theme is allowed (multisite only).
*
* @since 3.4.0
*
* @param string $check Optional. Whether to check only the 'network'-wide settings, the 'site'
* settings, or 'both'. Defaults to 'both'.
* @param int $blog_id Optional. Ignored if only network-wide settings are checked. Defaults to current site.
* @return bool Whether the theme is allowed for the network. Returns true in single-site.
*/