Support » Plugin: Simple Fields » [Plugin: Simple Fields] Get Post Connector name

  • paulobarcelos

    (@paulobarcelos)


    Is it possible to get the post connector name of a specific post ID?

    As an example, I have 2 post connectors:
    – Attachements
    – Credits

    And 3 posts:
    – Instructions (uses “Attachements” post connector)
    – Movie (use “Credits” post connector)
    – About (don’t use any post connector)

    I want to be able to query which is the connector the post is using, to then query the right field groups.

    Something like:
    get_post_connector($instructionsID); // outputs "Attachements"
    get_post_connector($movieID); // outputs "Credits"
    get_post_connector($aboutID); // outputs NULL

    And anyway, thank you VERY much for this life-saving plugin!

  • The topic ‘[Plugin: Simple Fields] Get Post Connector name’ is closed to new replies.