I'm using the gform_disable_post_creation action as the documentation specifies, but the post is being created anyway. My code:
add_filter("gform_disable_post_creation", "disable_post_creation", 10, 3);
function disable_post_creation($is_disabled, $form, $entry){
return true;
}
Not sure why it's being ignored, but it doesn't even seem that the callback is being fired. Placing an echo call in there never appears.
The form I'm using is not using the AJAX method and does use an image upload, in case that affects the solution.