- 
                Notifications
    
You must be signed in to change notification settings  - Fork 83
 
activitypub_cleanup_remote_actors_number
        github-actions[bot] edited this page Oct 29, 2025 
        ·
        14 revisions
      
    Filter the number of remote Actors to clean up.
/**
 * Filter the number of remote Actors to clean up.
 *
 * @param int $number 
 * @return int The filtered value.
 */
function my_activitypub_cleanup_remote_actors_number_callback( int $number ) {
    // Your code here.
    return $number;
}
add_filter( 'activitypub_cleanup_remote_actors_number', 'my_activitypub_cleanup_remote_actors_number_callback' );- 
int$numberThe number of remote Actors to clean up. 
apply_filters( 'activitypub_cleanup_remote_actors_number', $number )Follow @activitypub.blog@activitypub.blog for updates and news.