WC_Webhook::set_name()publicWC 3.2.0

Set webhook name.

Method of the class: WC_Webhook{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Webhook = new WC_Webhook();
$WC_Webhook->set_name( $name );
$name(string) (required)
Webhook name.

Changelog

Since 3.2.0 Introduced.

WC_Webhook::set_name() code WC 8.6.1

public function set_name( $name ) {
	$this->set_prop( 'name', $name );
}