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