Function __global->ecommerce_attach_memo_field_if_needed
Definitions
sources/ecommerce.php
- Attach a memo field to a product's input fields if needed.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| &$fields | ?Tempcode | Yes | No | required parameter | N/A | N/A | The fields to attach to (null: create new Tempcode object if needed) |
Preview
Code (PHP)
/**
* Attach a memo field to a product's input fields if needed.
*
* @param ?Tempcode $fields The fields to attach to (null: create new Tempcode object if needed)
*/
function ecommerce_attach_memo_field_if_needed(?object &$fields)
* Attach a memo field to a product's input fields if needed.
*
* @param ?Tempcode $fields The fields to attach to (null: create new Tempcode object if needed)
*/
function ecommerce_attach_memo_field_if_needed(?object &$fields)

