WC_Webhook::set_user_id()publicWC 3.2.0

Set user ID.

Method of the class: WC_Webhook{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Webhook = new WC_Webhook();
$WC_Webhook->set_user_id( $user_id );
$user_id(int) (required)
User ID.

Changelog

Since 3.2.0 Introduced.

WC_Webhook::set_user_id() code WC 8.7.0

public function set_user_id( $user_id ) {
	$this->set_prop( 'user_id', (int) $user_id );
}