WordPress at Your Fingertips
function is not described

WC_Webhook::set_name() public WC 3.2.0

Set webhook name.

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

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 3.2.0 Introduced.

Code of WC_Webhook::set_name() WC 6.1.1

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