Efficient Bidirectional Relationships for ACF
ACF Post-2-Post is a WordPress plugin designed to enhance the functionality of Advanced Custom Fields (ACF) version 5 and above. This plugin allows users to create bidirectional relationships between posts, automatically updating relationships in both directions when a post is edited. It integrates seamlessly with existing ACF Relationship and Post Object fields without introducing new field types or admin interfaces. The setup process is straightforward, requiring users to create a relationship or post object field at the top level with the same field name across post types.
The plugin offers customization options, including overwrite settings for managing maximum values in relationships. Users can specify how new values interact with existing ones, choosing to overwrite the first or last value as needed. Additionally, it allows the disabling of automatic updates for specific fields, providing flexibility for different use cases. With support for actions after post updates, ACF Post-2-Post is a valuable tool for developers looking to streamline content relationships in WordPress.