bbp_admin_settings()

The main settings page

Description

Source

File: bp-forums/admin/settings.php

function bbp_admin_settings() {
?>

	<div class="wrap">

		<h2><?php esc_html_e( 'Forums Settings', 'buddyboss' ) ?></h2>

		<form action="options.php" method="post">

			<?php settings_fields( 'bbpress' ); ?>

			<?php do_settings_sections( 'bbpress' ); ?>

			<p class="submit">
				<input type="submit" name="submit" class="button-primary" value="<?php esc_attr_e( 'Save Changes', 'buddyboss' ); ?>" />
			</p>
		</form>
	</div>

<?php
}

Changelog

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