Support

Account

Home Forums Backend Issues (wp-admin) acf/save_post action Reply To: acf/save_post action

  • The save_post actions passes the $post_id to your function.

    
    $post_type = get_post_type($post_id);
    if ($post_type != 'my-post-type') {
      return;
    }