bp_admin

Setup BuddyPress Admin.

Description

bp_admin(); 

Usage

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

Defined (1)

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

/bp-core/bp-core-admin.php  
  1. functionbp_admin) { 
  2. buddypress)->admin = new BP_Admin(); 
  3. return; 
  4.  
  5.  
  6. // These are strings we may use to describe maintenance/security releases, where we aim for no new strings. 
  7. _n_noop( 'Maintenance Release', 'Maintenance Releases', buddypress ); 
  8. _n_noop( 'Security Release', 'Security Releases', buddypress ); 
  9. _n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases', buddypress ); 
  10.  
  11. /** translators: 1: BuddyPress version number. */ 
  12. '<strong>Version %1$s</strong> addressed a security issue.',  
  13. '<strong>Version %1$s</strong> addressed some security issues.',  
  14. buddypress 
  15. ); 
  16.  
  17. /** translators: 1: BuddyPress version number, 2: plural number of bugs. */ 
  18. '<strong>Version %1$s</strong> addressed %2$s bug.',  
  19. '<strong>Version %1$s</strong> addressed %2$s bugs.',  
  20. buddypress 
  21. ); 
  22.  
  23. /** translators: 1: BuddyPress version number, 2: plural number of bugs. Singular security issue. */ 
  24. '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',  
  25. '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.',  
  26. buddypress 
  27. ); 
  28.  
  29. /** translators: 1: BuddyPress version number, 2: plural number of bugs. More than one security issue. */ 
  30. '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',  
  31. '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',  
  32. buddypress 
  33. ); 
  34.  
  35. __( 'For more information, see <a href="%s">the release notes</a>.', buddypress );