Skip to main content

is_pricing_field()

public static function is_pricing_field( $field_type )

Checks if the given type is a pricing field.

Since:

  • 2.4.10 (Added creditcard field.)
  • unknown

Source: common.php:2837

Parameters

NameTypeDefaultDescription
$field_typestringThe value of the field type or inputType property.

Returns

  • bool