W3cubDocs

/WordPress

WP::init()

Set up the current user.

Source

File: wp-includes/class-wp.php

public function init() {
		wp_get_current_user();
	}

Changelog

Version Description
2.0.0 Introduced.

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