- Timestamp:
- 11/07/2019 07:00:08 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/bp-notifications-adminbar.php
r10417 r12495 34 34 35 35 // Add the top-level Notifications button. 36 $wp_admin_bar->add_ menu( array(36 $wp_admin_bar->add_node( array( 37 37 'parent' => 'top-secondary', 38 38 'id' => 'bp-notifications', … … 43 43 if ( ! empty( $notifications ) ) { 44 44 foreach ( (array) $notifications as $notification ) { 45 $wp_admin_bar->add_ menu( array(45 $wp_admin_bar->add_node( array( 46 46 'parent' => 'bp-notifications', 47 47 'id' => 'notification-' . $notification->id, … … 51 51 } 52 52 } else { 53 $wp_admin_bar->add_ menu( array(53 $wp_admin_bar->add_node( array( 54 54 'parent' => 'bp-notifications', 55 55 'id' => 'no-notifications',
Note: See TracChangeset
for help on using the changeset viewer.