BP_Export::process_eraser_callback( $email_address, int $page = 1 )

Process delete callback

Description

Parameters

$email_address

(Required)

$page

(Optional)

Default value: 1

Return

(mixed)

Source

File: bp-core/gdpr/class-bp-export.php

	function process_eraser_callback( $email_address, $page = 1 ) {

		$user = get_user_by( 'email', $email_address );

		/**
		 * @todo add title/description
		 *
		 * @since BuddyBoss 1.0.0
		 */
		do_action( 'buddyboss_bp_gdpr_pre_eraser_callback', $email_address, $page, $user );

		return $this->process_erase( $user, $page, $email_address );

	}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.