public remove_update_array ( array $items ) : array | ||
$items | array | All the items being passed for update. |
return | array | An empty array, or the original items if not enabled. |
public function remove_update_array($items)
{
return !$this->enabled() ? $items : array();
}