WordPress at Your Fingertips
function is not described

WC_Product_Download::offsetSet() public WC 1.0

OffsetSet.

{} It's a method of the class: WC_Product_Download{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Product_Download = new WC_Product_Download();
$WC_Product_Download->offsetSet( $offset, $value );
$offset(string) (required)
Offset.
$value(mixed) (required)
Offset value.

Code of WC_Product_Download::offsetSet() WC 5.6.0

public function offsetSet( $offset, $value ) {
	switch ( $offset ) {
		default:
			if ( is_callable( array( $this, "set_$offset" ) ) ) {
				return $this->{"set_$offset"}( $value );
			}
			break;
	}
}