AdvancedCustomFields / acf

Advanced Custom Fields
http://advancedcustomfields.com/
835 stars 171 forks source link

For this to work for all values #788

Open rktaiwala opened 1 year ago

rktaiwala commented 1 year ago

for this to work for all values when the user wants to get all values irrespective of the value selected in the rule

lgladdy commented 1 year ago

I'm pretty sure this PR will have breaking changes, so we're unlikely to be able to accept it.

Could you provide some more detail on the issue you're facing so we can assess the best way to achieve that please?

rktaiwala commented 1 year ago

When using this function acf_get_field_groups( array('user_role'=>'all','user_form'=>'all') ), the function returns empty array, while it should return all the fields where the rules is set for user_role of usr_form irrespective of the value set

On Wed, Feb 8, 2023 at 2:42 PM Liam Gladdy @.***> wrote:

I'm pretty sure this PR will have breaking changes, so we're unlikely to be able to accept it.

Could you provide some more detail on the issue you're facing so we can assess the best way to achieve that please?

— Reply to this email directly, view it on GitHub https://github.com/AdvancedCustomFields/acf/pull/788#issuecomment-1422269072, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOGLKDYB25FJXDU5ML4WR3WWNPODANCNFSM6AAAAAAUU4FFUY . You are receiving this because you authored the thread.Message ID: @.***>

--

Rahul Taiwala [image: Github] https://github.com/rktaiwala/ [image: Stack Overflow] http://stackoverflow.com/users/1112120/trying-tobemyself