Method | Description | |
---|---|---|
__construct ( Inpsyde\MultilingualPress\API\Languages $languages, Inpsyde\MultilingualPress\Common\Type\Setting $setting, integer $blog_id, Inpsyde\MultilingualPress\API\SiteRelations $relations, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce ) | Constructor. Set up the properties. | |
render_content ( ) : void | Print tab content and provide two hooks. |
Method | Description | |
---|---|---|
get_language_name ( object $language ) : string | ||
show_blog_relationships ( array $site_option ) : void | ||
show_language_options ( array $site_option, object[] $languages ) : void |
public __construct ( Inpsyde\MultilingualPress\API\Languages $languages, Inpsyde\MultilingualPress\Common\Type\Setting $setting, integer $blog_id, Inpsyde\MultilingualPress\API\SiteRelations $relations, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce ) | ||
$languages | Inpsyde\MultilingualPress\API\Languages | Languages API object. |
$setting | Inpsyde\MultilingualPress\Common\Type\Setting | Options page data. |
$blog_id | integer | Blog ID |
$relations | Inpsyde\MultilingualPress\API\SiteRelations | Site relations. |
$nonce | Inpsyde\MultilingualPress\Common\Nonce\Nonce | Nonce object. |
public render_content ( ) : void | ||
return | void |