pods_field_display

Get a field display value from a Pod

Get a field display value from a Pod

Function Definition

function pods_field_display ( $pod, $id = false, $name = null, $single = false )

Source File: /pods/includes/general.php, since 2.1

Parameters

PARAMETER TYPE DETAILS
$pod (string) The pod name, or if you are in The Loop then you can just provide the field name to auto-detect pod/id using loop information.
$id (mixed) (optional) The ID or slug, to load a single record; Provide array of $params to run ‘find’.
$name (string|array) The field name, or an associative array of parameters.
$single (boolean) (optional) For tableless fields, to return the whole array or the just the first item.

Returns

(mixed) Field value

Other Helpful Documentation on Field Functions

pods_field

Get a field value from a Pod

pods_field_raw

Get a field raw value from a Pod

pods_serial_comma

Split an array into human readable text (Item, Item, and Item)