WP_Error::remove

SummerySummery

Removes the specified error.

Syntax

WP_Error::remove( string|int $code )

DescriptionDescription

This function removes all error messages associated with the specified error code, along with any error data for that code.

ParametersParameters

$code

(string|int) (Required) Error code.

SourceSource

File: wp-includes/class-wp-error.php


			

ChangelogChangelog

Changelog
Version Description
4.1.0 Introduced.
Scroll to Top