Form_Settings_Page::render_form( string $option )

Renders the settings page form.

Description

Parameters

$option

(string) (Required) Option name.

Source

File: src/db-objects/forms/form-settings-page.php

	protected function render_form( $option ) {
		$current_subtab_id = $this->get_current_subtab( $option );

		?>
		<form action="options.php" method="post" novalidate="novalidate">
			<?php settings_fields( $option ); ?>

			<?php $this->render_form_content( $option, $current_subtab_id ); ?>

			<?php submit_button(); ?>
		</form>
		<?php
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.