Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/20/2021 04:02:43 PM (5 months ago)
Author:
dcavins
Message:

Introduce BP_Optouts.

Add capability to store opt-out requests from
nonmembers who have been contacted by
communication from a BuddyPress site. These
new objects are represented by the class BP_Optout
and are stored in a new database table
wp_bp_optouts. This commit adds the following capabilities:

  • Add new class BP_Optout.
  • Add new table wp_bp_optouts.
  • Create new table on installation or upgrade.
  • Add convenience functions for adding, fetching or

deleting opt-outs.

  • Add tests for basic opt-out management.

See #8448.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/class-buddypress.php

    r12851 r12898  
    598598            'BP_REST_Attachments'          => 'core',
    599599            'BP_Admin_Types'               => 'core',
     600            'BP_Optout'                    => 'core',
    600601
    601602            'BP_Core_Friends_Widget'   => 'friends',
Note: See TracChangeset for help on using the changeset viewer.