-
Notifications
You must be signed in to change notification settings - Fork 80
activitypub_send_activity
github-actions[bot] edited this page Aug 26, 2025
·
9 revisions
/**
* Callback function for the 'activitypub_send_activity' filter.
*
* @param mixed $ID
* @param mixed $self::$batch_size
* @param mixed $get_post_meta_phpcs_ignore
* @return mixed The filtered value.
*/
function my_activitypub_send_activity_callback( $ID, self::$batch_size, $get_post_meta_phpcs_ignore ) {
// Your code here.
return $ID;
}
add_filter( 'activitypub_send_activity', 'my_activitypub_send_activity_callback', 10, 3 );
$ID
self::$batch_size
$get_post_meta_phpcs_ignore
\do_action(
'activitypub_send_activity',
$outbox_item->ID,
self::$batch_size,
\get_post_meta( $outbox_item->ID, '_activitypub_outbox_offset', true ) ?: 0 // phpcs:ignore
)
Follow @[email protected] for updates and news.