Home Forums Bug Reports ACF_Form() Security Issues Reply To: ACF_Form() Security Issues

  • Hi guys

    Thanks for the topic.

    I’ve been thinking about this issue for a while now and am starting to think that the acf_form() $args need to be registered before the acf_form_head() function.

    What do you think of a new function called acf_register_form( $args ) which could be run from your functions.php file (or on the page template)? The acf_form() function could then accept a single string param to identify the form id.

    This would allow the acf_form_head() function to load the form $args without the need of posting them.