| 1 |
<?php |
| 2 |
|
| 3 |
defined( 'ABSPATH' ) || exit; |
| 4 |
|
| 5 |
class Hostinger_Default_Options { |
| 6 |
public function add_options(): void { |
| 7 |
foreach ( $this->options() as $key => $option ) { |
| 8 |
update_option( $key, $option ); |
| 9 |
} |
| 10 |
} |
| 11 |
|
| 12 |
private function options(): array { |
| 13 |
return [ |
| 14 |
'optin_monster_api_activation_redirect_disabled' => 'true', |
| 15 |
'wpforms_activation_redirect' => 'true', |
| 16 |
'aioseo_activation_redirect' => 'false', |
| 17 |
]; |
| 18 |
} |
| 19 |
} |
| 20 |
|