first commit

This commit is contained in:
2023-09-12 21:41:04 +02:00
commit 3361a7f053
13284 changed files with 2116755 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
/**
* @author OnTheGo Systems
*/
abstract class WPML_WP_Option {
abstract public function get_key();
abstract public function get_default();
public function get() {
return get_option( $this->get_key(), $this->get_default() );
}
public function set( $value, $autoload = true ) {
update_option( $this->get_key(), $value, $autoload );
}
}