Support

Account

Home Forums Front-end Issues Remove specific field from acf_form Reply To: Remove specific field from acf_form

  • Solved with:

    add_filter('acf/prepare_field/key=field_5a93cdad837af', function($field){
      if(in_array(CURRENT_USER_ROLE, array('administrator','owner'))){
        return $field;
      }
      return false;
    });