I have several forms that all work without any problems. However, as soon as I add the pre render filter, the forms break with the "We could not locate your form". There doesn't even have to be any further code in the method, just the simple statement below will cause the forms to break:
add_filter("gform_pre_render", "pre_render_function");
function pre_render_function($form) {
};
This is in the functions.php file, so it should be in the right place.
Anyone had issues with this? Am I overlooking something obvious?
Thanks,
JB