Support

Account

Home Forums ACF PRO acf_form() not working in ACF 5 Reply To: acf_form() not working in ACF 5

  • Hi, John. I think this might be the root of a problem that I’m experiencing with my pre_save_post filter. If I comment out the

    if( $post_id != 'new_post' ) {
    
    	return $post_id;
    }

    bit then it works. Your comment above suggests that I should change it to new new_{$custom_post_type}, my post type is ‘role’ but $post_id != 'new_role' doesn’t do the trick. What am I missing?

    NB the documentation says $post_id != 'new' but that doesn’t work either.

    Thanks