Home › Forums › General Issues › Generate php – Where and how to put the code? › Reply To: Generate php – Where and how to put the code?
Well, to be honest I don’t think this questions is ‘valid’ anymore. I thought I had to change the code of the field group and put it somewhere manually to make my other question work (https://support.advancedcustomfields.com/forums/topic/required-field-based-on-input-other-fields/#post-84436). But since you helped me with that amazingly well I can just retrieve the original field keys from the php export and add the filter you mentioned in the other question to my functions.php file. I tested it and it works. Now only need to add the other validation rules. Thanks a lot. I will mark this question as answered
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.