GC_Error::remove()

最后更新于:2021-11-27 14:44:57

GC_Error::remove( string|int$code)

Removes the specified error.

参数

$code

(string|int) (Required) Error code.

源文件

文件: gc-includes/class-gc-error.php

	public function remove( $code ) {
		unset( $this->errors[ $code ] );
		unset( $this->error_data[ $code ] );
		unset( $this->additional_data[ $code ] );
	}