Yoast\WP\SEO\Surfaces

Schema_Helpers_Surface::__unset()publicYoast 1.0

Prevents unsetting dynamic properties and unsetting declared properties from an inaccessible context.

Метод класса: Schema_Helpers_Surface{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Schema_Helpers_Surface = new Schema_Helpers_Surface();
$Schema_Helpers_Surface->__unset( $name );
$name(строка) (обязательный)
The property name.

Код Schema_Helpers_Surface::__unset() Yoast 22.3

public function __unset( $name ) {
	throw Forbidden_Property_Mutation_Exception::cannot_unset_because_property_is_immutable( $name );
}