set_current_user action-hook . WP 2.0.1
Fires after the current user is set.
Usage
add_action( 'set_current_user', 'action_function_name_771' ); function action_function_name_771(){ // action... }
Changelog
Since 2.0.1 | Introduced. |
Where the hook is called
set_current_user
wp-includes/pluggable.php 48
do_action( 'set_current_user' );
Where in WP core the hook is used WordPress
wp-includes/default-filters.php 510
add_action( 'set_current_user', 'kses_init' );