| @@ -1,0 +1,22 @@ | ||
| 1 | +<?php | |
| 2 | +namespace ABlocks\Admin; | |
| 3 | + | |
| 4 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 5 | + exit; | |
| 6 | +} | |
| 7 | + | |
| 8 | +use ABlocks\Admin\Settings\Base as BaseSettings; | |
| 9 | +use ABlocks\Admin\Settings\Blocks as BlocksSettings; | |
| 10 | + | |
| 11 | +class Settings { | |
| 12 | + | |
| 13 | + public static function init() { | |
| 14 | + $self = new self(); | |
| 15 | + $self->save_settings(); | |
| 16 | + } | |
| 17 | + | |
| 18 | + public static function save_settings() { | |
| 19 | + BaseSettings::save_settings(); | |
| 20 | + BlocksSettings::save_settings(); | |
| 21 | + } | |
| 22 | +} | |