# give/4.16.9/src/Form/LegacyConsumer/functions.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.9. 16 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/Form/LegacyConsumer/functions.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/Form/LegacyConsumer/functions.php
- Modified: 2021-11-23T23:55:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.9/code/src/Form/LegacyConsumer/functions.php#L10-L20`.

```php
<?php

use Give\Framework\FieldsAPI\Contracts\Node;
use Give\Framework\FieldsAPI\Facades\Factory;

/**
 * @param string $type
 * @param string $name
 *
 * @return Node
 */
function give_field($type, $name)
{
    return Factory::make($type, $name);
}

```
