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


    Top ↑

    Return Return

    (bool|array) False if the connections aren't sortable, associative array otherwise: array( 'parent' => bool|object 'previous' => bool|object 'next' => bool|object )


    Premium WordPress Apps

    Top ↑

    User Contributed Notes User Contributed Notes

    You must log in before being able to contribute a note or feedback.