BP_Invitation_Manager::delete_all()

Delete all invitations by class.


Description Description

Used when clearing out invitations for an entire class. Possibly used when deactivating a component related to a class that created invitations.


Top ↑

Return Return

(int|bool) Number of rows deleted on success, false on failure.


Source Source

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

	public function delete_all() {
		return BP_Invitation::delete( array(
			'class' => $this->class_name,
		) );
	}


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.