function renderEbookStartPointField( $args ) {
		unset( $args['label_for'], $args['class'] );

		$options = [
			'' => '--',
		];
		$struct = \Pressbooks\Book::getBookStructure();
		foreach ( $struct['front-matter'] as $k => $v ) {
			$options[ $v['ID'] ] = $v['post_title'];
		}
		foreach ( $struct['part'] as $key => $value ) {
			foreach ( $value['chapters'] as $k => $v ) {
				$options[ $v['ID'] ] = $v['post_title'];
			}
		}
		foreach ( $struct['back-matter'] as $k => $v ) {
			$options[ $v['ID'] ] = $v['post_title'];
		}

		$this->renderSelect(
			[
				'id' => 'ebook_start_point',
				'name' => 'pressbooks_theme_options_' . $this->getSlug(),
				'option' => 'ebook_start_point',
				'value' => ( isset( $this->options['ebook_start_point'] ) ) ? $this->options['ebook_start_point'] : '',
				'choices' => $options,
				'description' => $args[0],
			]
		);
	}
function renderEbookStartPointField( $args ) {
		unset( $args['label_for'], $args['class'] );

		$options = [
			'' => '--',
		];
		$struct = \Pressbooks\Book::getBookStructure();
		foreach ( $struct['front-matter'] as $k => $v ) {
			$options[ $v['ID'] ] = $v['post_title'];
		}
		foreach ( $struct['part'] as $key => $value ) {
			foreach ( $value['chapters'] as $k => $v ) {
				$options[ $v['ID'] ] = $v['post_title'];
			}
		}
		foreach ( $struct['back-matter'] as $k => $v ) {
			$options[ $v['ID'] ] = $v['post_title'];
		}

		$this->renderSelect(
			[
				'id' => 'ebook_start_point',
				'name' => 'pressbooks_theme_options_' . $this->getSlug(),
				'option' => 'ebook_start_point',
				'value' => ( isset( $this->options['ebook_start_point'] ) ) ? $this->options['ebook_start_point'] : '',
				'choices' => $options,
				'description' => $args[0],
			]
		);
	}
function renderEbookStartPointField ( $ args ) { unset ( $ args [ 'label_for' ] , $ args [ 'class' ] ) ; $ options = [ '' => '--' , ] ; $ struct = \ Pressbooks \ Book :: getBookStructure ( ) ; foreach ( $ struct [ 'front-matter' ] as $ k => $ v ) { $ options [ $ v [ 'ID' ] ] = $ v [ 'post_title' ] ; } foreach ( $ struct [ 'part' ] as $ key => $ value ) { foreach ( $ value [ 'chapters' ] as $ k => $ v ) { $ options [ $ v [ 'ID' ] ] = $ v [ 'post_title' ] ; } } foreach ( $ struct [ 'back-matter' ] as $ k => $ v ) { $ options [ $ v [ 'ID' ] ] = $ v [ 'post_title' ] ; } $ this -> renderSelect ( [ 'id' => 'ebook_start_point' , 'name' => 'pressbooks_theme_options_' . $ this -> getSlug ( ) , 'option' => 'ebook_start_point' , 'value' => ( isset ( $ this -> options [ 'ebook_start_point' ] ) ) ? $ this -> options [ 'ebook_start_point' ] : '' , 'choices' => $ options , 'description' => $ args [ 0 ] , ] ) ; }
Render the ebook_start_point dropdown.

@param array $args
Render the ebook_start_point dropdown .