Skip Navigation

[Resolved] Filter CPT Dropdown on Relationship Form by Permissions

This support ticket is created 4 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 6 replies, has 2 voices.

Last updated by Eric Hendrickson 4 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#2107095

I want to limit the values in a CPT drop down by permissions so that only the items that are supposed to show for the user (ideally using Post Groups) appear in the drop down. Is this possible?

#2107205

Hello,

There isn't such kind of built-in feature within Toolset plugins: show for the user (ideally using Post Groups) appear in the drop down.

You can submit a feature request for it:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

Our developers will evaluate it.

#2107221

Is there a way to accomplish this in PHP code? How could I filter based on the combination of a Post Group membership and content association?

#2107277

Unfortunately, there isn't such kind of existed filter hook for this, see our document:
https://toolset.com/documentation/programmer-reference/cred-api/

And according to our support policy, we don't provide custom codes support:
https://toolset.com/toolset-support-policy/

#2107535

I have submitted a feature request for this, but no programmatic access to the Forms drop downs prior to render is extremely disappointing.

#2108101

Since there isn't such kind of built-in feature, and according to our support policy, we don't provide custom codes support:
https://toolset.com/toolset-support-policy/
If you use some custom codes to customize the Forms dropdowns, it might not work in future version of Toolset plugin, so I suggest you wait for the implement this feature in future version of Toolset plugins,

#2108523

My issue is resolved now. Thank you!