Skip to content

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.

Auto-generated Example

/**
 * 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 );

Parameters

  • Activitypub\Notification $instance The notification object.
  • string $7_5_0
  • string $activitypub_handled___type_

Files

\do_action_deprecated( 'activitypub_notification', array( $this ), '7.5.0', "activitypub_handled_{$type}" )

← All Hooks

Users

Developers

Clone this wiki locally