Skip to main content

form_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:8125

Parameters​

NameTypeDefaultDescription
$formarrayThe current form object.

Returns​

  • bool