| @@ -4,20 +4,20 @@ | ||
| 4 | 4 | exit; |
| 5 | 5 | } |
| 6 | 6 | |
| 7 | 7 | class Hostinger_Settings { |
| 8 | - public const MYSELF = 'myself'; | |
| 9 | - public const FREELANCER = 'freelancer'; | |
| 10 | - public const DEVELOPER = 'developer'; | |
| 11 | - public const OTHER = 'other'; | |
| 8 | + public const MYSELF = 'myself'; | |
| 9 | + public const FREELANCER = 'freelancer'; | |
| 10 | + public const DEVELOPER = 'developer'; | |
| 11 | + public const OTHER = 'other'; | |
| 12 | 12 | public const BUSINESS_BEGINNER_SEGMENT = 'business_beginner'; |
| 13 | - public const LEARNER_SEGMENT = 'learner'; | |
| 14 | - public const BUSINESS_OWNER_SEGMENT = 'business_owner'; | |
| 15 | - public const WEBSITE_TYPE_BUSINESS = 'business'; | |
| 16 | - public const WEBSITE_TYPE_PORTFOLIO = 'portfolio'; | |
| 17 | - public const WEBSITE_TYPE_STORE = 'online-store'; | |
| 18 | - public const WEBSITE_TYPE_BLOG = 'blog'; | |
| 19 | - public const SITE_TITLE_OPTION = 'blogname'; | |
| 13 | + public const LEARNER_SEGMENT = 'learner'; | |
| 14 | + public const BUSINESS_OWNER_SEGMENT = 'business_owner'; | |
| 15 | + public const WEBSITE_TYPE_BUSINESS = 'business'; | |
| 16 | + public const WEBSITE_TYPE_PORTFOLIO = 'portfolio'; | |
| 17 | + public const WEBSITE_TYPE_STORE = 'online-store'; | |
| 18 | + public const WEBSITE_TYPE_BLOG = 'blog'; | |
| 19 | + public const SITE_TITLE_OPTION = 'blogname'; | |
| 20 | 20 | |
| 21 | 21 | public function __construct() { |
| 22 | 22 | if ( ! $this->get_setting( 'user_segment' ) ) { |
| 23 | 23 | $this->set_user_segment(); |
| @@ -68,9 +68,8 @@ | ||
| 68 | 68 | |
| 69 | 69 | if ( $setting ) { |
| 70 | 70 | update_option( 'hostinger_' . $setting, $value, $autoload ); |
| 71 | 71 | } |
| 72 | - | |
| 73 | 72 | } |
| 74 | 73 | } |
| 75 | 74 | |
| 76 | 75 | new Hostinger_Settings(); |