API ReferenceFunctionshas_consent_field()On this pagehas_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