updated plugin ActivityPub version 5.8.0

This commit is contained in:
2025-04-29 21:19:06 +00:00
committed by Gitium
parent 19dfd317cc
commit fdfbf76539
166 changed files with 14119 additions and 7163 deletions

View File

@ -60,7 +60,18 @@ class Notification {
public function send() {
$type = \strtolower( $this->type );
/**
* Action to send ActivityPub notifications.
*
* @param Notification $instance The notification object.
*/
do_action( 'activitypub_notification', $this );
/**
* Type-specific action to send ActivityPub notifications.
*
* @param Notification $instance The notification object.
*/
do_action( "activitypub_notification_{$type}", $this );
}
}