Clanbite Social Kit Social

do_action( 'clanbite_social_kit_activity_inserted', int $post_id, int $user_id, array<string, mixed> $args )

Fires after an automatic activity post is inserted.

Action PHP

Parameters

$post_id (int)

Inserted social post ID.

$user_id (int)

User ID receiving the post.

$args (array<string, mixed>)

Event metadata.

Example

add_action( 'clanbite_social_kit_activity_inserted', function ( $post_id, $user_id, $args ) {
	// Run your code.
}, 10, 3 );

Defined in inc/Social/Activity_Logger.php