Skip to content

activitypub_send_activity

github-actions[bot] edited this page Aug 26, 2025 · 9 revisions

Auto-generated Example

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

Parameters

  • $ID
  • self::$batch_size
  • $get_post_meta_phpcs_ignore

Files

\do_action(
				'activitypub_send_activity',
				$outbox_item->ID,
				self::$batch_size,
				\get_post_meta( $outbox_item->ID, '_activitypub_outbox_offset', true ) ?: 0 // phpcs:ignore
			)

← All Hooks

Users

Developers

Clone this wiki locally