bp_core_register_widgets

Register bp-core widgets.

Description

bp_core_register_widgets(); 

Usage

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

Defined (1)

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

/bp-core/bp-core-widgets.php  
  1. function bp_core_register_widgets() { 
  2. add_action( 'widgets_init', function() { register_widget( 'BP_Core_Login_Widget' ); } );