BP_Invitation::delete_by_id( int $id )

Delete a single invitation by ID.

Description

See also

Parameters

$id

(Required) ID of the invitation item to be deleted.

Return

(bool) True on success, false on failure.

Source

File: bp-core/classes/class-bp-invitation.php

	public static function delete_by_id( $id ) {
		return self::delete( array(
			'id' => $id,
		) );
	}

Changelog

Changelog
Version Description
BuddyBoss 1.3.5 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.