Function __global->append_form_custom_fields

Definitions

sources/fields.php

  • Append fields to content add/edit form for gathering custom fields.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$content_type ID_TEXT required parameter N/A N/A Content type hook codename
$id ?ID_TEXT required parameter N/A N/A Content entry ID (null: new entry)
$fields Tempcode required parameter N/A N/A Fields (passed by reference)
$hidden Tempcode required parameter N/A N/A Hidden Fields (passed by reference)
$field_filter ?array Null N/A N/A Limit fields to a set (null: no limit)
$field_filter_inclusion_list boolean True N/A N/A Whether $field_filter is a inclusion list (if false, it is a exclusion-list)
$add_separate_header boolean False N/A N/A Whether to add a separate header above the fields, so long as not all the fields are already under some other header