API/functions/bb current user

From bbPulp

Jump to: navigation, search
Function
bb_current_user
File: /bb-includes/pluggable.php
Class: none
Pluggable: yes
Introduced: revision 335
Deprecated: no

[edit] Description

mixed bb_current_user ( void )

Checks the validity of the current user. If the user is not valid, then the current user details are voided.

[edit] Return values

Returns the id of the current user or false if the user is invalid. This function should not be used to get the current user id, use bb_get_current_user_info instead.

[edit] Plugins that redefine this function

None

Personal tools