um_language_file

Hook type

Filter

Description

Change UM language file path

Parameters

$language_file

(string) UM language file path

Usage

add_filter( 'um_language_file', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_language_file', 'my_language_file', 10, 1 );
function my_language_file( $language_file ) {
    // your code here
return $language_file;
}
?>

Change Log

Since: 2.0

Source

um_language_file is located in includes/class-init.php::line 265