[Plugin: Simple Fields] Get Post Connector name
-
Is it possible to get the post connector name of a specific post ID?
As an example, I have 2 post connectors:
– Attachements
– CreditsAnd 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 NULLAnd anyway, thank you VERY much for this life-saving plugin!
The topic ‘[Plugin: Simple Fields] Get Post Connector name’ is closed to new replies.