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

// We will 404 for paged queries, as no posts were found.
		} elseif ( ! is_paged() ) {
			$author = get_query_var( 'author' );

Changelog

Version Description
4.0.0 Introduced.

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