Skip to content

activitypub_send_activity

github-actions[bot] edited this page Nov 14, 2025 · 13 revisions

Auto-generated Example

/**
 * Callback function for the 'activitypub_send_activity' action.
 *
 * @param mixed $ID 
 * @param mixed $batch_size 
 * @param mixed $get_post_meta_phpcs_ignore 
 */
function my_activitypub_send_activity_callback( $ID, $batch_size, $get_post_meta_phpcs_ignore ) {
    // Your code here.
}
add_action( 'activitypub_send_activity', 'my_activitypub_send_activity_callback', 10, 3 );

Parameters

  • $ID
  • $batch_size
  • $get_post_meta_phpcs_ignore

Files

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

← All Hooks

Users

Developers

Clone this wiki locally