P2P_Directed_Connection_Type::get_related( mixed $item, array $extra_qv = array(), $output = 'raw' )
Get a list of posts connected to other posts connected to a post.
Package
Description Description
Parameters Parameters
- $item
(mixed) (Required) An object, an object id or an array of such.
- $extra_qv
(array) (Optional) Additional query variables to use.
Default value: array()
Return Return
(bool|object) False on failure; A WP_Query instance on success.