P2P_Connection_Type::get_adjacent_items( $item )
Get the previous, next and parent items, in an ordered connection type.
Package
Description Description
Parameters Parameters
(mixed) (Required) The current item
Return Return
(bool|array) False if the connections aren't sortable, associative array otherwise: array( 'parent' => bool|object 'previous' => bool|object 'next' => bool|object )