| Server IP : 172.67.134.116 / Your IP : 216.73.216.38 Web Server : Apache System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : nobi37te ( 1003) PHP Version : 8.2.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/nobi37te/www/wp-content/plugins/buddyboss-platform/bp-settings/screens/ |
Upload File : |
<?php
/**
* Settings: User's "Settings > Email" screen handler
*
* @package BuddyBoss\Settings\Screens
* @since BuddyPress 3.0.0
*/
/**
* Show the notifications settings template.
*
* @since BuddyPress 1.5.0
*/
function bp_settings_screen_notification() {
if ( bp_action_variables() && 'subscriptions' !== bp_action_variable( 0 ) ) {
bp_do_404();
return;
}
$template = 'members/single/settings/notifications';
if ( bp_action_variables() && 'subscriptions' === bp_action_variable( 0 ) ) {
if ( ! empty( bb_get_subscriptions_types() ) ) {
$template = 'members/single/settings/subscriptions';
} else {
bp_do_404();
return;
}
}
/**
* Filters the template file path to use for the notification settings screen.
*
* @since BuddyPress 1.6.0
*
* @param string $value Directory path to look in for the template file.
*/
bp_core_load_template( apply_filters( 'bp_settings_screen_notification_settings', $template ) );
}