BP_Notifications_Notification::delete_by_id( int $id )

Delete a single notification by ID.

Description Description

See also See also

Top ↑

Parameters Parameters


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

Top ↑

Return Return

(int|false) True on success, false on failure.

Top ↑

Source Source

File: bp-notifications/classes/class-bp-notifications-notification.php

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

Top ↑

Changelog Changelog

Version Description
1.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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