Automattic\WooCommerce\EmailEditor
Exception::withCode
Method of the class: Exception{}
No Hooks.
Returns
static.
Usage
$Exception = new Exception(); $Exception->withCode( $code );
- $code(int) (required)
- .
Exception::withCode() Exception::withCode code WC 10.5.0
public function withCode(int $code) {
$this->code = $code;
return $this;
}