Add an item to the values of a relationship field.
Function Definition
public function add_to ( $field, $value )
Source File: /pods/classes/Pods.php
Since: 2.3
Parameters
PARAMETER | TYPE | DETAILS |
---|---|---|
$field | (string) | Field name |
$value | (mixed) | ID(s) to add |
Returns
(int) The item ID