original_string: protected function setup_fields() {
  		foreach ( $this->prop( 'fields' ) as $args ) {
  			$field = $this->builder
  				->get_field( $args, $this )
  				->set_option( 'context', $this->args( 'context' ) )
  				->initialize();
  
  			if ( ! $field->check_capabilities() ) {
  				continue;
  			}
  
  			if ( 'hidden' === $args['type'] ) {
  				$this->builder->add_hidden_field( $args, $this );
  				continue;
  			}
  
  			$this->fields[ $field->get_id() ] = $field;
  		}
  	}
code: protected function setup_fields() {
  		foreach ( $this->prop( 'fields' ) as $args ) {
  			$field = $this->builder
  				->get_field( $args, $this )
  				->set_option( 'context', $this->args( 'context' ) )
  				->initialize();
  
  			if ( ! $field->check_capabilities() ) {
  				continue;
  			}
  
  			if ( 'hidden' === $args['type'] ) {
  				$this->builder->add_hidden_field( $args, $this );
  				continue;
  			}
  
  			$this->fields[ $field->get_id() ] = $field;
  		}
  	}
code_tokens: protected function setup_fields ( ) { foreach ( $ this -> prop ( 'fields' ) as $ args ) { $ field = $ this -> builder -> get_field ( $ args , $ this ) -> set_option ( 'context' , $ this -> args ( 'context' ) ) -> initialize ( ) ; if ( ! $ field -> check_capabilities ( ) ) { continue ; } if ( 'hidden' === $ args [ 'type' ] ) { $ this -> builder -> add_hidden_field ( $ args , $ this ) ; continue ; } $ this -> fields [ $ field -> get_id ( ) ] = $ field ; } }
docstring: Setup field in the group.
  
  @return void
docstring_tokens: Setup field in the group .