Support

Account

Home Forums General Issues Generate php – Where and how to put the code? Reply To: Generate php – Where and how to put the code?

  • Hi John, you are truly helpful! I saw you also replied on my other question. Thanks for that!

    So what would be the best way to go? I guess adding the php script (including the code to make certain fields required from my other question) to my functions.php file adding the location rule?

    How do I add the location rule? Do I add it to if( function_exists('acf_add_local_field_group') ):? What would be the code?

    Sorry if this question might be stupid but my coding skills are not that great…