bbp_converter_settings()

The main settings page

Description

Source

File: bp-forums/admin/settings.php

function bbp_converter_settings() {
?>

	<div class="wrap">
		<h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Tools', 'buddyboss' ) ); ?></h2>
		<div class="nav-settings-subsubsub">
			<ul class="subsubsub">
				<?php bp_core_tools_settings_admin_tabs(); ?>
			</ul>
		</div>
	</div>
	<div class="wrap">
		<div class="bp-admin-card">

			<form action="#" method="post" id="bbp-converter-settings">

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

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

				<p class="submit">
					<input type="button" name="submit" class="button-primary" id="bbp-converter-start" value="<?php esc_attr_e( 'Start', 'buddyboss' ); ?>" onclick="bbconverter_start();" />
					<input type="button" name="submit" class="button-primary" id="bbp-converter-stop" value="<?php esc_attr_e( 'Stop', 'buddyboss' ); ?>" onclick="bbconverter_stop();" />
					<img id="bbp-converter-progress" src="">
				</p>

				<div class="bbp-converter-updated" id="bbp-converter-message"></div>
			</form>

		</div>
	</div>

<?php
}

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.