dozent_get_user_id( int $user_id )
Get user id from the given ID for Current UserID
Description
See also
Parameters
- $user_id
-
(int) (Required)
Return
(false|int|mixed)
Source
File: includes/core-functions.php
function dozent_get_user_id( $user_id = 0 ) { if ( ! $user_id ) { $user_id = get_current_user_id(); if ( ! $user_id ) { return false; } } return $user_id; }
Changelog
Version | Description |
---|---|
DozentLMS 1.0.0 | Introduced. |