WP::init() In this article Table of ContentsSource Related Changelog ↑ Back to top Set up the current user. Source public function init() { wp_get_current_user(); } View all references View on Trac View on GitHub Related UsesDescriptionwp_get_current_user()wp-includes/pluggable.phpRetrieves the current user object. Used byDescriptionWP::main()wp-includes/class-wp.phpSets up all of the variables required by the WordPress environment. Changelog VersionDescription2.0.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.