BP_Invitation::delete_by_id( int $id )

Delete a single invitation by ID.


Description Description

See also See also


Top ↑

Parameters Parameters

$id

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


Top ↑

Return Return

(bool) True on success, false on failure.


Top ↑

Source Source

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

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


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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