Constructor.
Parameters
$controller
WP_Translation_Controllerrequired- I18N controller.
$textdomain
stringoptional- Text domain. Default
'default'
.Default:
'default'
Source
public function __construct( WP_Translation_Controller $controller, string $textdomain = 'default' ) {
$this->controller = $controller;
$this->textdomain = $textdomain;
}
Changelog
Version | Description |
---|---|
6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.