Skip to toolbar

Add a meta group of fields to add/edit forms

Function Definition

function pods_group_add ( $pod, $label, $fields, $context = 'normal', $priority = 'default', $type = null )

Source File: /pods/includes/general.php

Parameters

PARAMETER TYPE DETAILS
$pod (string|array) The pod or type of element to attach the group to.
$label (string) Title of the edit screen section, visible to user.
$fields (string|array) Either a comma separated list of text fields or an associative array containing field information.
$context (string) (optional) The part of the page where the edit screen section should be shown (‘normal’, ‘advanced’, or ‘side’).
$priority (string) (optional) The priority within the context where the boxes should show (‘high’, ‘core’, ‘default’ or ‘low’).
$type (string) (optional) Type of the post to attach to.

Returns

(void)

Examples


 

See Also