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