Simple Fields
Get Post Connector name (1 post)

  1. paulobarcelos
    Posted 5 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic