is_legacy_markup_enabled()
public static function is_legacy_markup_enabled( $form_or_id )
Determines if a form has legacy markup enabled.
Since:
2.52.7(Added caching.)2.9(Added early return if in the form editor.)
Source: common.php:7760
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$form_or_id | int | array | Form ID or form array. |
Returns
bool