Description
Sets a user as logged in.
Parameters
$user_id
(integer) (required) The user to log in.
Examples
Changelog
Introduced in version 3.2.3
Source
wpmem_set_as_logged_in() is located in /includes/api/api-users.php.
Home of WP-Members, The Original WordPress Membership Plugin
Sets a user as logged in.
$user_id
(integer) (required) The user to log in.
Introduced in version 3.2.3
wpmem_set_as_logged_in() is located in /includes/api/api-users.php.
Ready to get started?