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;
		}
	}
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;
		}
	}
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 ; } }
Setup field in the group.

@return void
Setup field in the group .