Automattic\WooCommerce\Internal\OrderWithdrawal
OrderWithdrawalFormProcessor::get_field_name
Get the posted name for a form field key.
Method of the class: OrderWithdrawalFormProcessor{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = OrderWithdrawalFormProcessor::get_field_name( $field_key ): string;
- $field_key(string) (required)
- Field key.
Changelog
| Since 11.1.0 | Introduced. |
OrderWithdrawalFormProcessor::get_field_name() OrderWithdrawalFormProcessor::get field name code WC 11.1.2
public static function get_field_name( string $field_key ): string {
return self::FIELD_PREFIX . $field_key;
}