MB Relationships - API for setting relationships

Support MB Relationships MB Relationships - API for setting relationships

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8359
    ecurtainecurtain
    Participant

    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.

    #8369
    Anh TranAnh Tran
    Keymaster

    Hi, I've just added the CRUD API to the extension. I will release the new version soon.

    PS: Just released new version 1.1.0. Please see this documentation for usage.

    #8387
    ecurtainecurtain
    Participant

    Nice! This should allow me to finish my migration tool - thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘MB Relationships - API for setting relationships’ is closed to new replies.