WC_Data::set_id( int $id )

Set ID.


Description Description


Parameters Parameters

$id

(Required) ID.


Top ↑

Source Source

File: includes/abstracts/abstract-wc-data.php

	public function set_id( $id ) {
		$this->id = absint( $id );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.