Notification::delete( $args,  $assoc_args )

Delete a notification.


Description Description

Top ↑

OPTIONS OPTIONS

… : ID or IDs of notification to delete.
[–yes] : Answer yes to the confirmation message.
## EXAMPLES
$ wp bp notification delete 520 –yes Success: Deleted notification 520.
$ wp bp notification delete 55654 54564 –yes Success: Deleted notification 55654. Success: Deleted notification 54564.
$ wp bp notification delete $(wp bp notification list –format=ids) –yes Success: Deleted notification 35456465. Success: Deleted notification 46546546. Success: Deleted notification 46465465.


Source Source

File: cli/src/notification.php


			

Top ↑

User Contributed Notes User Contributed Notes

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