src/core/class-papi-core-property.php
protected function setup_options_settings( $options ) {
		$property_class = self::factory( $options->type );

		if ( papi_is_property( $property_class ) ) {
			$options->settings = array_merge( (array) $property_class->get_default_settings(), (array) $options->settings );
		}

		return (object) $options->settings;
	}
protected function setup_options_settings( $options ) {
		$property_class = self::factory( $options->type );

		if ( papi_is_property( $property_class ) ) {
			$options->settings = array_merge( (array) $property_class->get_default_settings(), (array) $options->settings );
		}

		return (object) $options->settings;
	}
Setup options settings.

@param  stdClass $options

@return stdClass