W3cubDocs

/WordPress

CaseInsensitiveDictionary::offsetUnset( $offset )

Source

public function offsetUnset($offset) {
	if (is_string($offset)) {
		$offset = strtolower($offset);
	}

	unset($this->data[$offset]);
}

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wporg-requests-utility-caseinsensitivedictionary/offsetunset