get_previous_item — Get the previous item in the database.

Item-related functions

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

Usage

Examples

See Also