API ReferenceFunctionsform_requires_login()On this pageform_requires_login() public static function form_requires_login( $form ) Determines if the user must be logged in to view and submit the form. Since: 2.6.9 Source: common.php:7970 Parameters NameTypeDefaultDescription$formarrayThe current form object. Returns bool