Support

Account

Home Forums Front-end Issues Custom settings Reply To: Custom settings

  • Finally got it by using:
    $value = “My new value”
    $field = get_field_object(‘name_of_field’,$postId);
    $field[‘custom_field_name’] = $value;
    acf_update_field($field);