Remove an item from the values of a relationship field, remove a value from a number field (field-1), remove time to a date field.
Function Definition
public function remove_from ( $field, $value, $id )
Source File: /pods/classes/Pods.php
Since: 2.3.3
Parameters
| PARAMETER | TYPE | DETAILS |
|---|---|---|
| $field | (string) | Field name |
| $value | (mixed) | ID(s) to add, int|float to add to number field, string for dates (-1 week), or string for text |
| $id | (int) | (optional) ID of the pod item to update |
Returns
(int) The item ID
Additional Information
This is the primary method for clearing a relationship in Pods.