W3cubDocs

/WordPress

WP_Rewrite::__construct()

Constructor – Calls init(), which runs setup.

Source

File: wp-includes/class-wp-rewrite.php

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

Changelog

Version Description
1.5.0 Introduced.

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