WP_Error::__set( string $name, mixed $value )

Make private properties settable for backwards compatibility.

Parameters Parameters


(string) (Required) Property to set.


(mixed) (Required) Property value.

Top ↑

Return Return

(mixed) Newly-set property.

Top ↑

Source Source

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

		$codes = $this->get_error_codes();

		if ( empty( $codes ) ) {

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.