Field::getRemovedValues()

Version 3.8

Get values that were removed

Get all Technical values of values that were selected but are now removed.. Some fieldtypes may have multiple values, like join or selection.

Return value

mixed

Full documentation

Show list of values that were removed:

foreach ( $Product->accessories->getRemovedValues() as $value ){
    $txt .= "<li>{$value}</i>";
}