Skip to main content

Gravity_Forms\Gravity_Forms\License\GF_License_Statuses

Class GF_License_Statuses

Helper class to provide license statuse codes and messages. Should not be instantiated, but used statically.

Since: 2.5.11

Source: includes/license/class-gf-license-statuses.php:14

Details

  • Kind: class
  • Namespace: Gravity_Forms\Gravity_Forms\License

Methods

MethodDescription
get_message_for_code()Get the correct Message for the given code.

Method Reference

get_message_for_code()

public static function get_message_for_code( $code, $error_message='' )

Get the correct Message for the given code.

Parameters

NameTypeDefaultDescription
$code
$error_message''

Returns

  • mixed | string | void

Since: 2.5.11

Source: includes/license/class-gf-license-statuses.php:42