bp_core_admin_settings()
The main settings page
Description Description
Source Source
File: bp-core/admin/bp-core-admin-settings.php
function bp_core_admin_settings() { // We're saving our own options, until the WP Settings API is updated to work with Multisite. $form_action = add_query_arg( 'page', 'bp-settings', bp_get_admin_url( 'admin.php' ) ); ?> <div class="wrap"> <h1><?php _e( 'BuddyPress Settings', 'buddypress' ); ?> </h1> <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Options', 'buddypress' ) ); ?></h2> <form action="<?php echo esc_url( $form_action ) ?>" method="post"> <?php settings_fields( 'buddypress' ); ?> <?php do_settings_sections( 'buddypress' ); ?> <p class="submit"> <input type="submit" name="submit" class="button-primary" value="<?php esc_attr_e( 'Save Settings', 'buddypress' ); ?>" /> </p> </form> </div> <?php }
Changelog Changelog
Version | Description |
---|---|
1.6.0 | Introduced. |