W3cubDocs

/WordPress

WP_MatchesMapRegex::__unset( string $name )

Make private properties un-settable for backwards compatibility.

Parameters

$name

(string) (Required) Property to unset.

Source

File: wp-includes/class-wp.php

if ( is_author() && is_numeric( $author ) && $author > 0 && is_user_member_of_blog( $author )
				// Don't 404 for these queries if they matched an object.
				|| ( is_tag() || is_category() || is_tax() || is_post_type_archive() ) && get_queried_object()

Changelog

Version Description
4.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_matchesmapregex/__unset