Support

Account

Home Forums Backend Issues (wp-admin) Programmatically add relationship field data Reply To: Programmatically add relationship field data

  • I have no idea what rgar() is. but if it’s returning a post object then this might work

    
    $post = rgar($entry,'16');
    $post_id = $post->ID;