Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
4 / 4 |
ThemeTranslations | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
4 / 4 |
loadTranslations | |
100.00% |
1 / 1 |
1 | |
100.00% |
4 / 4 |
<?php | |
declare(strict_types=1); | |
namespace Korobochkin\WPKit\Translations; | |
/** | |
* Class ThemeTranslations | |
*/ | |
class ThemeTranslations extends AbstractTranslations | |
{ | |
/** | |
* @inheritdoc | |
*/ | |
public function loadTranslations() | |
{ | |
load_theme_textdomain( | |
$this->textDomain, | |
$this->translationsPath | |
); | |
return $this; | |
} | |
} |