public function output() {
		if ( ! $form = $this->manager->get_form() ) {
			_doing_it_wrong( __FUNCTION__, 'Cannot output the section until the form is created', null );
			return;
		}

		$attributes = [
			'role'        => 'tabpanel',
			'id'          => $this->uniqid(),
			'aria-hidden' => ! empty( $this->options['active'] ) ? 'false' : 'true',
		];

		echo '<section' . Utils::build_html_attributes( $attributes ) . '>'; // WPCS: XSS OK.

		foreach ( $this->fields as $field ) {
			$form->show( $field );
		}

		echo '</section>';
	}
public function output() {
		if ( ! $form = $this->manager->get_form() ) {
			_doing_it_wrong( __FUNCTION__, 'Cannot output the section until the form is created', null );
			return;
		}

		$attributes = [
			'role'        => 'tabpanel',
			'id'          => $this->uniqid(),
			'aria-hidden' => ! empty( $this->options['active'] ) ? 'false' : 'true',
		];

		echo '<section' . Utils::build_html_attributes( $attributes ) . '>'; // WPCS: XSS OK.

		foreach ( $this->fields as $field ) {
			$form->show( $field );
		}

		echo '</section>';
	}
public function output ( ) { if ( ! $ form = $ this -> manager -> get_form ( ) ) { _doing_it_wrong ( __FUNCTION__ , 'Cannot output the section until the form is created' , null ) ; return ; } $ attributes = [ 'role' => 'tabpanel' , 'id' => $ this -> uniqid ( ) , 'aria-hidden' => ! empty ( $ this -> options [ 'active' ] ) ? 'false' : 'true' , ] ; echo '<section' . Utils :: build_html_attributes ( $ attributes ) . '>' ; // WPCS: XSS OK. foreach ( $ this -> fields as $ field ) { $ form -> show ( $ field ) ; } echo '</section>' ; }
Output the section content.

@return void
Output the section content .