public function set_units( $units = [] ) {
		$this->data['units'] = Strings::maybe_split_parameters( $units );
		$this->custom_units  = $this->update_unit_pattern( $this->data['units'] );
	}
public function set_units( $units = [] ) {
		$this->data['units'] = Strings::maybe_split_parameters( $units );
		$this->custom_units  = $this->update_unit_pattern( $this->data['units'] );
	}
public function set_units ( $ units = [ ] ) { $ this -> data [ 'units' ] = Strings :: maybe_split_parameters ( $ units ) ; $ this -> custom_units = $ this -> update_unit_pattern ( $ this -> data [ 'units' ] ) ; }
Sets the list of units to keep together with their values.

@param string|array $units A comma separated list or an array of units.
Sets the list of units to keep together with their values .