Свойство | Type | Description | |
---|---|---|---|
$textdomain | string | The plugin textdomain |
Méthode | Description | |
---|---|---|
__construct ( ) | The class constructor. | |
get_strings ( string $config_id = 'global' ) : array | Shortcut method to get the translation strings | |
load_textdomain ( ) | Load the plugin textdomain |
Méthode | Description | |
---|---|---|
get_path ( ) : string | Gets the path to a translation file. | |
get_paths ( ) : array | Returns an array of paths where translation files may be located. |
public __construct ( ) |
public static get_strings ( string $config_id = 'global' ) : array | ||
$config_id | string | The config ID. See Kirki_Config. |
Résultat | array |
protected string $textdomain | ||
Résultat | string |