Support

Account

Home Forums Bug Reports acf_form() id not being set from $args Reply To: acf_form() id not being set from $args

  • Hi @hyperarts

    Yes, during the save actions, you can obtain the form $args by looking at:
    $GLOBALS['acf_form']

    You could review the ‘id’ here to run custom functionality for only specific forms. Perhaps you have 2 forms on the site, but only want to run a function when ‘signup’ is submit.

    Thanks
    E