Get the current user’s ID
1346
Continue readingRetrieve current theme display name.If the ‘current_theme’ option has already been set, then it will be returned instead. If it is not set, then each theme will be iterated over until both the current stylesheet and current template name.
1344
Continue readingGet the current site info.Returns an object containing the ID, domain, path, and site_name of the site being viewed.
1342
Continue readingPopulate global variables with information about the currently logged in user.Will set the current user, if the current user is not set. The current user will be set to the logged in person. If no user is logged in, then it will set the current user to 0, which is invalid and won’t have any permissions.
1340
Continue reading