Function __global->set_extra_request_metadata
Definitions
sources/global3.php
- Add some metadata for the request.It is taken by:a) Getting directly from the passed $metadata.b) Looking up the CMA hook for the given $content_type, and using that to dereference properties from $row.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$metadata | array | required parameter | N/A | N/A | Extra metadata |
$row | ?array | Null | N/A | N/A | Content row to automatically grab data from, if we also have $content_type (null: unknown) |
$content_type | ?ID_TEXT | Null | N/A | N/A | Content type (null: unknown) |
$content_id | ?ID_TEXT | Null | N/A | N/A | Content ID, used for some cases of deeper probing (null: unknown) |