inc/class-Iac_Settings.php
public function load_options() {

		$options = get_option( self::OPTION_KEY, '' );

		if ( ! is_array( $options ) ) {
			$options = self::$default_options;
			update_option( self::OPTION_KEY, $options );
		} else {
			foreach ( self::$default_options as $key => $value ) {
				if ( ! isset( $options[ $key ] ) )
					$options[ $key ] = $value;
			}
		}

		$this->options = $options;
	}
public function load_options() {

		$options = get_option( self::OPTION_KEY, '' );

		if ( ! is_array( $options ) ) {
			$options = self::$default_options;
			update_option( self::OPTION_KEY, $options );
		} else {
			foreach ( self::$default_options as $key => $value ) {
				if ( ! isset( $options[ $key ] ) )
					$options[ $key ] = $value;
			}
		}

		$this->options = $options;
	}
public function load_options ( ) { $ options = get_option ( self :: OPTION_KEY , '' ) ; if ( ! is_array ( $ options ) ) { $ options = self :: $ default_options ; update_option ( self :: OPTION_KEY , $ options ) ; } else { foreach ( self :: $ default_options as $ key => $ value ) { if ( ! isset ( $ options [ $ key ] ) ) $ options [ $ key ] = $ value ; } } $ this -> options = $ options ; }
load options and set defaults if necessary

@return void
load options and set defaults if necessary