Print option value after sanitizing for forms.

Signature

form_option( $option )
option
 (string) Option name.

Return

(void)

Source

function form_option( $option ) {
	echo esc_attr( get_option( $option ) );
}
WP Trac GitHub

Link here