Skip to main content

get_submission_currency()

public static function get_submission_currency()

Verifies the posted currency value to ensure it wasn't tampered with.

Falls back to GFCommon::get_currency() if verification fails or posted currency is missing.

Since: 2.9.26

Source: common.php:4240

Returns

  • string — The currency code.