Support

Account

Home Forums General Issues add_action – acf/save_post + publish_post Reply To: add_action – acf/save_post + publish_post

  • I would probably use the ACF hook and check the status of the post in the filter

    
    if (get_post_status($post_id) == 'publish') {
      // send email
    }
    


    @beee
    ’s solution would work as well, but for most people it’s easier to be able to use the acf functions than it is to deal with $_POST