WordPress at a glance
filter is not described

determine_current_user filter-hook . WP 3.9.0

Filters the current user.

The default filters use this to determine the current user from the request's cookies, if available.

Returning a value of false will effectively short-circuit setting the current user.

Usage

add_filter( 'determine_current_user', 'filter_function_name_4582' );
function filter_function_name_4582( $user_id ){
	// filter...

	return $user_id;
}
$user_id(int/true/false)
User ID if one has been determined, false otherwise.

Where the hook is called

_wp_get_current_user()
wp-includes/user.php 2611
$user_id = apply_filters( 'determine_current_user', false );

Where the hook is used (in WP core)

wp-includes/default-filters.php 414
add_filter( 'determine_current_user', 'wp_validate_auth_cookie' );
wp-includes/default-filters.php 415
add_filter( 'determine_current_user', 'wp_validate_logged_in_cookie', 20 );