apply_filters( 'um_language_file', $language_file ) → {string}
Filters the path to the language file (*.mo).
Parameters:
Name | Type | Description |
---|---|---|
$language_file |
string | Default path to the language file. |
- Since:
- 1.3.x
- Source:
Returns:
Language file path.
- Type
- string
Example
function my_um_language_file( $language_file ) {
$language_file = '{path-to-language-file}';
return $language_file;
}
add_filter( 'um_language_file', 'my_um_language_file' );