Title: Problem with overwrite setting
Last modified: October 11, 2019

---

# Problem with overwrite setting

 *  Resolved [ToTTi](https://wordpress.org/support/users/formgarten/)
 * (@formgarten)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/problem-with-overwrite-setting/)
 * I stick to the example with author and books. In my case, the Relationship field
   allows me to assign several books to an author on the authors page, but a book
   can only be assigned to ONE author on the book page (also through out a relationship
   field). Example: I have assigned author 1 the book 1 – now if I assign the author
   2 also the book 1, from my understanding book 1 should only be assigned to author
   2 anymore. Then the previous author 1 should no more be seen as assigned on the
   book page. If that’s exactly what the overwrite settings should do, it will not
   work for me, even though I’ve stuck to all the guidelines: same key_name etc.
   In my example from above, according to the scenario described, on the book page
   both authors 1 and 2 are assigned. Was that understandable? :))
 * Or didn’t I understand correctly what the overwrite settings does? The code I
   used (I also checked the copy paste code):
 * add_filter (‘acf-post2post / overwrite-settings’, ‘my_overwrite_settings’);
    
   function my_overwrite_settings ($ settings) {   $ settings [‘orte2partner’] =
   array (     ‘overwrite’ => true,     ‘type’ => ‘first’   );   return $ settings;}
    -  This topic was modified 6 years, 7 months ago by [ToTTi](https://wordpress.org/support/users/formgarten/).
    -  This topic was modified 6 years, 7 months ago by [ToTTi](https://wordpress.org/support/users/formgarten/).
    -  This topic was modified 6 years, 7 months ago by [ToTTi](https://wordpress.org/support/users/formgarten/).
    -  This topic was modified 6 years, 7 months ago by [ToTTi](https://wordpress.org/support/users/formgarten/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Huebner](https://wordpress.org/support/users/hube2/)
 * (@hube2)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/problem-with-overwrite-setting/#post-12349200)
 * This is a repeat of another topic that has been resolved

Viewing 1 replies (of 1 total)

The topic ‘Problem with overwrite setting’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/post-2-post-for-acf.svg)
 * [ACF Post-2-Post](https://wordpress.org/plugins/post-2-post-for-acf/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-2-post-for-acf/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-2-post-for-acf/)
 * [Active Topics](https://wordpress.org/support/plugin/post-2-post-for-acf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-2-post-for-acf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-2-post-for-acf/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [John Huebner](https://wordpress.org/support/users/hube2/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/problem-with-overwrite-setting/#post-12349200)
 * Status: resolved