Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author scribu

    (@scribu)

    ‘chain’ is not a valid parameter anymore (and never should have been). Use ‘any’.

    If that doesn’t work, call set_direction() manually:

    $objects = p2p_type( 'object_to_chain' )->set_direction( 'to' )->get_connected( 'any', $args, 'abstract' );
    Thread Starter Marko Heijnen

    (@markoheijnen)

    chain was a post type and yes it was wrong. That code works perfect

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Posts 2 Posts] After updating to 1.4.1 get_connected doesn't work’ is closed to new replies.