Support

Account

Home Forums Feature Requests Options page input used as field label for other custom fields Reply To: Options page input used as field label for other custom fields

  • Set the default label when you create the field

    
    add_filter('acf/load_field/key=field_0123456789abc', 'set_my_field_label');
    function set_my_field_label($field) {
      $label = get_field('field_label_option', 'option');
      if ($label) {
        $field['label'] = $label;
      }
      return $field;
    }