form_option( string $option )
Print option value after sanitizing for forms.
Parameters
- $option
-
(Required) Option name.
Source
File: wp-includes/option.php
function form_option( $option ) {
echo esc_attr( get_option( $option ) );
}
Changelog
Version | Description |
---|---|
WP-1.5.0 | Introduced. |