-
Notifications
You must be signed in to change notification settings - Fork 84
activitypub_skip_inbox_storage
github-actions[bot] edited this page Oct 24, 2025
·
1 revision
Filter to skip inbox storage.
Skip inbox storage for debugging purposes or to reduce load for certain Activity-Types, like "Delete".
/**
* Filter to skip inbox storage.
*
* Skip inbox storage for debugging purposes or to reduce load for
* certain Activity-Types, like "Delete".
*
* @param bool $skip
* @param array $data
* @return bool Whether to skip inbox storage.
*/
function my_activitypub_skip_inbox_storage_callback( bool $skip, array $data ) {
// Your code here.
return $skip;
}
add_filter( 'activitypub_skip_inbox_storage', 'my_activitypub_skip_inbox_storage_callback', 10, 2 );-
bool$skipWhether to skip inbox storage. -
array$dataThe activity data array.
bool Whether to skip inbox storage.
\apply_filters( 'activitypub_skip_inbox_storage', false, $data )Follow @[email protected] for updates and news.