bp_core_admin_components_settings

Renders the Component Setup admin panel.

Description

bp_core_admin_components_settings(); 

Usage

  1. if ( !function_exists( 'bp_core_admin_components_settings' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-core/admin/bp-core-admin-components.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_core_admin_components_settings(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-core/admin/bp-core-admin-components.php  
  1. function bp_core_admin_components_settings() { 
  2. ?> 
  3.  
  4. <div class="wrap"> 
  5.  
  6. <h1><?php _e( 'BuddyPress Settings', buddypress ); ?> </h1> 
  7.  
  8. <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Components', buddypress ) ); ?></h2> 
  9. <form action="" method="post" id="bp-admin-component-form"> 
  10.  
  11.  
  12. <p class="submit clear"> 
  13. <input class="button-primary" type="submit" name="bp-admin-component-submit" id="bp-admin-component-submit" value="<?php esc_attr_e( 'Save Settings', buddypress ) ?>"/> 
  14. </p> 
  15.  
  16. <?php wp_nonce_field( 'bp-admin-component-setup' ); ?> 
  17.  
  18. </form> 
  19. </div> 
  20.  
  21. <?php