add_menu_classes in /wp-admin/includes/menu.php
8947
Continue readingValidates a URL for use in a redirect.Checks whether the $location is using an allowed host, if it has an absolute path. A plugin can therefore set or remove allowed host(s) to or from the list.
4257
Continue readingSets the authentication cookies based User ID.The $remember parameter increases the time that the cookie will be kept. The default the cookie is kept without remembering is two days. When $remember is set, the cookies will be kept for 14 days or two weeks.
4099
Continue reading