Since: 2.3
pods_register_related_object
Register a related object
Function Definition
function pods_register_related_object ( $name, $label, $options = null )
Source File: /pods/includes/general.php
Parameters
Parameter | Type | Details |
---|---|---|
$name | (string) | The internal name of the related object. Must be unique. |
$label | (string) | The name of the related object as it should appear in the "Related To" drop-down for the relationship field |
$options | (array) | Object options (see below) |
Additional Parameter Options
Returns
(boolean) true if successful, false otherwise