[Plugin: Posts 2 Posts] Get all connections at once??
-
Is there any way to get all the connection types in one query.
Something like that?$connected = new WP_Query( array(
‘connected_type’ => array(‘events_to_videos’,’events_to_authors’),
‘connected_items’ => get_queried_object_id(),
‘nopaging’ => true,
) );Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘[Plugin: Posts 2 Posts] Get all connections at once??’ is closed to new replies.