um_language_textdomain

Hook type

Filter

Description

Change UM textdomain

Parameters

$domain

(string) UM Textdomain

Usage

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

Examples

<?php
add_filter( 'um_language_textdomain', 'my_textdomain', 10, 1 );
function my_textdomain( $domain ) {
    // your code here
return $domain;
}
?>

Change Log

Since: 2.0

Source

um_language_textdomain is located in includes/class-init.php::line 217