bp_form_option( string $option, string $default = '', bool $slug = false )
Output settings API option.
Description Description
Parameters Parameters
- $option
-
(Required) Form option to echo.
- $default
-
(Optional) Form option default.
Default value: ''
- $slug
-
(Optional) Form option slug.
Default value: false
Source Source
File: bp-core/admin/bp-core-admin-settings.php
function bp_form_option( $option, $default = '' , $slug = false ) { echo bp_get_form_option( $option, $default, $slug ); }
Changelog Changelog
Version | Description |
---|---|
1.6.0 | Introduced. |