Property | Type | Description | |
---|---|---|---|
$textdomain | string | The plugin textdomain |
Method | 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 |
Method | 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. |
return | array |