WC_Webhook::set_user_id()
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() WC Webhook::set user id code WC 9.6.1
public function set_user_id( $user_id ) { $this->set_prop( 'user_id', (int) $user_id ); }