bbp_form_option( string $option, string $default = '', bool $slug = false )

Output settings API option

Description

Parameters

$option

(string) (Required)

$default

(string) (Optional)

Default value: ''

$slug

(bool) (Optional)

Default value: false

Source

File: bp-forums/admin/settings.php

function bbp_form_option( $option, $default = '' , $slug = false ) {
	echo bbp_get_form_option( $option, $default, $slug );
}

Changelog

Changelog
Version Description
bbPress (r3203) 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.