set_current_user WordPress Action Hook

The set_current_user hook is a hook that is called when a user is logged in. It allows you to set the current user to a specific user.

do_action( 'set_current_user' ) #

Fires after the current user is set.


Source

File: wp-includes/pluggable.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.0.1Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More