bp_core_notification_settings_after_save

  • do_action( 'bp_core_notification_settings_after_save' )

    Source Reference:

    • Component: BuddyPress:: bp-settings
      File: /bp-settings/bp-settings-actions.php :: Trac Source Line: 137
      		if ( isset( $_POST['notifications'] ) ) {
      			foreach ( (array)$_POST['notifications'] as $key => $value ) {
      				if ( $meta_key = bp_get_user_meta_key( $key ) )
      					bp_update_user_meta( (int)$bp->displayed_user->id, $meta_key, $value );
      			}
      		}
      
      		bp_core_add_message( __( 'Changes saved.', 'buddypress' ), 'success' );
      
      		do_action( 'bp_core_notification_settings_after_save' );
      	}
      
      	bp_core_load_template( apply_filters( 'bp_core_screen_notification_settings', 'members/single/settings/notifications' ) );
      }
      
      /** Delete Account ************************************************************/
      
      function bp_core_screen_delete_account() {
      	global $bp;
      

Comments are closed.