bp_core_admin_available_tools_intro

Render an introduction of BuddyPress tools on Available Tools page.

Description

bp_core_admin_available_tools_intro(); 

Usage

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

Defined (1)

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

/bp-core/admin/bp-core-admin-tools.php  
  1. function bp_core_admin_available_tools_intro() { 
  2. $query_arg = array( 
  3. 'page' => 'bp-tools' 
  4. ); 
  5.  
  6. $page = bp_core_do_network_admin() ? 'admin.php' : 'tools.php' ; 
  7. $url = add_query_arg( $query_arg, bp_get_admin_url( $page ) ); 
  8. ?> 
  9. <div class="card tool-box"> 
  10. <h2><?php esc_html_e( 'BuddyPress Tools', buddypress ) ?></h2> 
  11. <p> 
  12. <?php esc_html_e( 'BuddyPress keeps track of various relationships between users, groups, and activity items. Occasionally these relationships become out of sync, most often after an import, update, or migration.', buddypress ); ?> 
  13. <?php printf( esc_html_x( 'Use the %s to repair these relationships.', buddypresstools intro', buddypress ), '<a href="' . esc_url( $url ) . '">' . esc_html__( 'BuddyPress Tools', buddypress ) . '</a>' ); ?> 
  14. </p> 
  15. </div> 
  16. <?php