Function __global->get_privacy_form_fields
Definitions
sources/content_privacy2.php
- Get form fields for setting content privacy.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$content_type | ?ID_TEXT | required parameter | N/A | N/A | The content type (null: could be multiple) |
$content_id | ?ID_TEXT | Null | N/A | N/A | The content ID (null: adding) |
$show_header | boolean | True | N/A | N/A | Whether to show a header to separate the settings out |
$prefix | string | Blank (empty string) | N/A | N/A | Prefix for field naming |
Return
- The form fields
- Type: Tempcode
- Set: N/A
- Range: N/A