Support

Account

Home Forums Front-end Issues How to add value to global fields ? Reply To: How to add value to global fields ?

  • Use the function

    
    $field = acf_get_field($field_key);
    

    to get the field
    add new choices to `$field[‘choices’];
    then

    
    acf_update_field($field);