You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions[bot] edited this page Oct 30, 2025
·
2 revisions
Filter the frequency of Collection-Synchronization headers sent to a given authority.
Auto-generated Example
/** * Filter the frequency of Collection-Synchronization headers sent to a given authority. * * @param int $frequency * @param int $user_id * @param string $inbox_authority * @return int The filtered value. */functionmy_activitypub_collection_sync_frequency_callback( int$frequency, int$user_id = null, string$inbox_authority = null ) {
// Your code here.return$frequency;
}
add_filter( 'activitypub_collection_sync_frequency', 'my_activitypub_collection_sync_frequency_callback' );
Parameters
int$frequency The frequency in seconds. Default is one week.