Viewing 1 replies (of 1 total)
  • Thread Starter Simon van Stipriaan

    (@simon-van-stipriaan)

    I wanted to edit my response to include some helpful pointers – However, this is not possible after an hour ?? Feel free to delete previous comments if possible

    I’ve found a way of achieving what I wanted by adding some additional variables and a form field (not demonstrated here) and essentially hooking into the specific ACF field:

    if (get_option('od_phpfield') == 'yes') {
     add_filter('acf/load_field/key=field_5a031ad5dd207', 'wp_allow_php_execute', 39);
     }

    Its a bit messy, but let me know if you want me to contribute to your plugin accordingly.

Viewing 1 replies (of 1 total)
  • The topic ‘Allow plugin to be applied to Custom Fields’ is closed to new replies.