option = $option; $this->default = $default; $this->autoload = $autoload; } public function get() { return absint( get_option( $this->option, $this->default ) ); } public function save( $new_value ) { return update_option( $this->option, $new_value, $this->autoload ); } }