Navigation

Search

is_not_guest

Description

Checks if the user is currently a guest, and if so asks them to login with a message telling them why.

Syntax

void is_not_guest ([string $message])



Parameter $message

Expected type: String
Description: If specified, this message will be displayed above the login box. Used to explain why they're being asked to login.


Notes

  • Message is what to tell them when asking them to login.
  • Uses the Login template and language files
  • Uses the kick_guest sub-template
View all versions of this function