Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PROD-7937] In Plugin Notification system #4518

Open
wants to merge 10 commits into
base: release
Choose a base branch
from
13 changes: 13 additions & 0 deletions src/bp-core/admin/bp-core-admin-actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -454,3 +454,16 @@ function bb_core_settings_saved_notice() {
}

add_action( 'bp_admin_notices', 'bb_core_settings_saved_notice', 1010 );

/**
* Function to load in-plugin notification class.
*
* @since BuddyBoss [BB_VERSION]
*/
function bb_in_plugin_notification() {
if ( class_exists( 'BB_In_Plugin_Notifications' ) ) {
return new BB_In_Plugin_Notifications();
}
}

add_action( 'bp_init', 'bb_in_plugin_notification' );
Loading