Skip to:
Content

BuddyPress.org

Ticket #7822: 7822.empty.patch

File 7822.empty.patch, 1.7 KB (added by r-a-y, 17 months ago)
  • src/bp-activity/bp-activity-notifications.php

     
    1010// Exit if accessed directly.
    1111defined( 'ABSPATH' ) || exit;
    1212
     13add_action( 'bp_notification_settings', '__return_empty_string' );
     14
    1315/**
    1416 * Format notifications related to activity.
    1517 *
  • src/bp-friends/bp-friends-notifications.php

     
    1313// Exit if accessed directly.
    1414defined( 'ABSPATH' ) || exit;
    1515
     16add_action( 'bp_notification_settings', '__return_empty_string' );
     17
    1618/**
    1719 * Notification formatting callback for bp-friends notifications.
    1820 *
  • src/bp-groups/bp-groups-notifications.php

     
    1515
    1616/** Emails ********************************************************************/
    1717
     18add_action( 'bp_notification_settings', '__return_empty_string' );
     19
    1820/**
    1921 * Notify all group members when a group is updated.
    2022 *
  • src/bp-messages/bp-messages-notifications.php

     
    1010// Exit if accessed directly.
    1111defined( 'ABSPATH' ) || exit;
    1212
     13add_action( 'bp_notification_settings', '__return_empty_string' );
     14
    1315/**
    1416 * Format notifications for the Messages component.
    1517 *