WP_Error::__unset( string $name )

Make private properties un-settable for backwards compatibility.

Description Description

Parameters Parameters


(string) (Required) Property to unset.

Top ↑

Source Source

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

		if ( isset( $this->errors[ $code ] ) ) {
			return $this->errors[ $code ];

Top ↑

Changelog Changelog

Version Description
4.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.