Support

Account

Home Forums Front-end Issues Readonly radio field Reply To: Readonly radio field

  • I just looked at the ACF code and it appears it allows more granular control for ratio fields, at least that’s the way it appears.

    
    function my_acf_prepare_field( $field ) {
       $field['disabled'] = array(
          // set each value option you want to disable
          'value1',
          'value2',
          // etc
       );
       return $field;
    }
    add_filter('acf/prepare_field', 'my_acf_prepare_field');