W3cubDocs

/WordPress

WP_Rewrite::__construct()

Constructor – Calls init() , which runs setup.

Source

public function __construct() {
	$this->init();
}

Changelog

Version Description
1.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rewrite/__construct