wp_validate_logged_in_cookie ( $user_id )
- (int|bool) user_id The user ID (or false) as received from the `determine_current_user` filter.
- (int|bool) User ID if validated, false otherwise. If a user ID from an earlier filter callback is received, that value is returned.
- Introduced in WordPress: 3.9.0
- Deprecated in WordPress: —
Validates the logged-in cookie.Checks the logged-in cookie if the previous auth cookie could not be
validated and parsed.
This is a callback for the Array filter, rather than API.