Skip to main content

form_has_fields()

public static function form_has_fields( $form )

Determines if the given form has an array based fields property.

Since: 2.5.7

Source: common.php:7957

Parameters

NameTypeDefaultDescription
$formarrayThe form to be checked.

Returns

  • bool