get( 'TextDomain' ); // If the theme's textdomain is loaded, assign the theme's translations // to the "kirki" textdomain. if ( isset( $l10n[ $theme_textdomain ] ) ) { // @codingStandardsIgnoreLine $l10n[ $domain ] = $l10n[ $theme_textdomain ]; } // Always override. We only want the theme to handle translations. $override = true; } return $override; } } add_filter( 'override_load_textdomain', 'kirki_override_load_textdomain', 10, 2 );