bp_form_option( string $option, string $default = '', bool $slug = false )
Output settings API option.
Description
Parameters
- $option
-
(Required) Form option to echo.
- $default
-
(Optional) Form option default.
Default value: ''
- $slug
-
(Optional) Form option slug.
Default value: false
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
Version | Description |
---|---|
BuddyPress 1.6.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.