-
Notifications
You must be signed in to change notification settings - Fork 83
activitypub_notification
github-actions[bot] edited this page Nov 14, 2025
·
9 revisions
DEPRECATED This hook was deprecated in version 7.5.0.
Action to send ActivityPub notifications.
/**
* Action to send ActivityPub notifications.
*
* @param Activitypub\Notification $instance
* @param string $7_5_0
* @param string $activitypub_handled___type_
*/
function my_activitypub_notification_callback( Activitypub\Notification $instance, string $7_5_0, string $activitypub_handled___type_ ) {
// Your code here.
}
add_action( 'activitypub_notification', 'my_activitypub_notification_callback', 10, 3 );-
Activitypub\Notification$instanceThe notification object. -
string$7_5_0 -
string$activitypub_handled___type_
\do_action_deprecated( 'activitypub_notification', array( $this ), '7.5.0', "activitypub_handled_{$type}" )Follow @[email protected] for updates and news.