Support

Account

Home Forums General Issues update_field on Publish Reply To: update_field on Publish

  • I figured it out. I need to use $field_key instead of $field_name.
    update_field( "field_53362544f0012", $value, $post->ID );