메소드 | 설명 | |
---|---|---|
__construct ( Inpsyde\MultilingualPress\API\SiteRelations $site_relation, Inpsyde\MultilingualPress\API\Languages $languages ) | Constructor | |
update ( integer $blog_id ) : void | Combine all update actions. |
메소드 | 설명 | |
---|---|---|
get_posted_language ( ) : boolean | string | Get language from post request. | |
update_language ( integer $blog_id ) : void | ||
update_relation ( integer $blog_id ) : integer | Updating Site Relations for new sites. | |
update_wplang ( integer $blog_id ) : void | Update option WPLANG in DB for new sites. |
public __construct ( Inpsyde\MultilingualPress\API\SiteRelations $site_relation, Inpsyde\MultilingualPress\API\Languages $languages ) | ||
$site_relation | Inpsyde\MultilingualPress\API\SiteRelations | Site relations API object. |
$languages | Inpsyde\MultilingualPress\API\Languages | Languages API object. |