Home Forums Bug Reports disable via prepare_field Reply To: disable via prepare_field

  • One year passed and we still are here… I can’t use $field[‘disabled’] = true; for ‘true/false’-field, because that doesn’t work. It’s a bit strange to have the functional which don’t work with two type of field. Why that is?

    “Are you seeing the problem with the stylized UI on or off?” – Yes.
    If I make the field[‘ui’] = 0; then will $field[‘disabled’] = true work? Where I need do it? I mean now I work into ‘acf/prepare_field’.