You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relative path to the theme directory from wp-content/themes
is_activated
bool
Whether to activate the theme after deployment
[optional] [default to False]
Example
fromhostinger_api.models.word_press_v1_themes_deploy_theme_requestimportWordPressV1ThemesDeployThemeRequest# TODO update the JSON string belowjson="{}"# create an instance of WordPressV1ThemesDeployThemeRequest from a JSON stringword_press_v1_themes_deploy_theme_request_instance=WordPressV1ThemesDeployThemeRequest.from_json(json)
# print the JSON string representation of the objectprint(WordPressV1ThemesDeployThemeRequest.to_json())
# convert the object into a dictword_press_v1_themes_deploy_theme_request_dict=word_press_v1_themes_deploy_theme_request_instance.to_dict()
# create an instance of WordPressV1ThemesDeployThemeRequest from a dictword_press_v1_themes_deploy_theme_request_from_dict=WordPressV1ThemesDeployThemeRequest.from_dict(word_press_v1_themes_deploy_theme_request_dict)