Open
Description
I registered a many-to-many connection type, from a custom-post-type to itself, sortable=true. Then, I added 3 connections to one post of this cpt.
When I tried $items = p2p_type('steps')->get_adjacent_items($id)
, I got a warning:
"More than one connected parents found".
var_dump($items)
shows the result has 3 elements-- $items['parent']
is the first connection which I think it should be the first child. $items['previous']' and
$items['next']are both
false`.
Where did I go wrong?