Changeset 13153 for trunk/src/bp-friends/bp-friends-widgets.php
- Timestamp:
- 11/19/2021 05:03:56 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-friends/bp-friends-widgets.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/bp-friends-widgets.php
r13092 r13153 10 10 // Exit if accessed directly. 11 11 defined( 'ABSPATH' ) || exit; 12 13 /** 14 * Registers the Friends Legacy Widget. 15 * 16 * @since 10.0.0 17 */ 18 function bp_friends_register_friends_widget() { 19 register_widget( 'BP_Core_Friends_Widget' ); 20 } 12 21 13 22 /** … … 28 37 } 29 38 30 add_action( 31 'widgets_init', 32 function() { 33 register_widget( 'BP_Core_Friends_Widget' ); 34 } 35 ); 39 add_action( 'widgets_init', 'bp_friends_register_friends_widget' ); 36 40 } 37 41 add_action( 'bp_register_widgets', 'bp_friends_register_widgets' );
Note: See TracChangeset
for help on using the changeset viewer.