Skip to main content

has_consent_field()

public static function has_consent_field( $form )

Whether the form has a consent field.

Since: 2.4

Source: common.php:2736

Parameters

NameTypeDefaultDescription
$form

Returns

  • bool