get_previous_item
— Get the previous item in the database.
Summary
- get_previous_item($item = null)
Get the previous item in the database.
- Parameters:
$item (
Item|null
) – Check for this specific item record (current item if null).
- Returns:
Item|null