VAT
Your cart

Your cart is empty.

Privacy hooks

This page lists the 2 hooks of this group. Each entry shows its type, the version it arrived in, where it runs, its arguments and a starting point.

addochat_conversation_deleted

ActionSince 0.1.0 Runs in src/Privacy/Cleanup.php.

Fires after conversations were deleted (retention or a privacy erasure), for clean-up of your own, such as tickets that point at them.

ArgumentTypeDescription
$idsint[]Conversation ids that no longer exist.
add_action( 'addochat_conversation_deleted', function ( $ids ) {
	// ...
} );

addochat_idle_close_hours

FilterSince 0.1.0 Runs in src/Privacy/Cleanup.php.

Filters after how many hours without a message an open or waiting conversation is closed. 0 never closes.

ArgumentTypeDescription
$hoursintHours, default 24.
add_filter( 'addochat_idle_close_hours', function ( $hours ) {
	return $hours;
} );

Ready to connect your AI to real tools?

Start free trial