bp_members_invitations_delete_optedout_invites( BP_Optout $optout )

Delete site membership invitations when an opt-out request is saved.


Parameters Parameters

$optout

(BP_Optout) (Required) Characteristics of the opt-out just saved.


Source Source

File: bp-members/bp-members-invitations.php

function bp_members_invitations_delete_optedout_invites( $optout ) {

	$args = array(
		'invitee_email' => $optout->email_address,
	);
	bp_members_invitations_delete_invites( $args );
}


Top ↑

Changelog Changelog

Changelog
Version Description
8.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.