- This topic has 2 replies, 2 voices, and was last updated 2 years, 8 months ago by .
Are there functions to programmatically set a specific relationships between two posts?
For example, if I have a MB_relationship for posts_to_pages,
and I want to link post #1 to page #2, is there a way to do that through code?
My current setup has a *lot* of links through a custom taxonomy, and so I’m interested in writing a script to convert those into MB_Relationship links.
- The topic ‘MB Relationships – API for setting relationships’ is closed to new replies.