Description
Echo option value after sanitizing for forms.
Usage
<?php form_option( $option ) ?>
Parameters
- $option
- (string) (required) Option name.
- Default: None
Return Values
- (Echo)
- echos the value in a get_option after its passed through esc_attr()
Examples
Notes
Change Log
Since: 1.5.0
Source File
form_option() is located in wp-includes/option.php
.
Related