bp_form_option( string $option, string $default = '', bool $slug = false )
Output settings API option.
Description
Parameters
- $option
-
(string) (Required) Form option to echo.
- $default
-
(string) (Optional) Form option default.
Default value: ''
- $slug
-
(bool) (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.