wpseek.com
A WordPress-centric search engine for devs and theme authors



form_option › WordPress Function

Since1.5.0
Deprecatedn/a
form_option ( $option )
Parameters:
  • (string) $option Option name.
    Required: Yes
Defined at:
Codex:

Prints option value after sanitizing for forms.



Source

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