Skip to content

atmosphere_reply_backfill_batch_size

github-actions[bot] edited this page Jul 15, 2026 · 1 revision

Filters how many posts the automatic reply backfill checks per run.

Return 0 to disable the rolling audit while leaving normal reaction sync and the explicit WP-CLI backfill command enabled. Values above 20 are clamped to keep one WP-Cron request bounded.

Auto-generated Example

/**
 * Filters how many posts the automatic reply backfill checks per run.
 * 
 * Return 0 to disable the rolling audit while leaving normal reaction
 * sync and the explicit WP-CLI backfill command enabled. Values above
 * 20 are clamped to keep one WP-Cron request bounded.
 *
 * @param int $batch_size 
 * @return int The filtered value.
 */
function my_atmosphere_reply_backfill_batch_size_callback( int $batch_size ) {
    // Your code here.
    return $batch_size;
}
add_filter( 'atmosphere_reply_backfill_batch_size', 'my_atmosphere_reply_backfill_batch_size_callback' );

Parameters

  • int $batch_size Posts checked per daily run. Default 5.

Files

\apply_filters(
				'atmosphere_reply_backfill_batch_size',
				self::DEFAULT_BACKFILL_BATCH_SIZE
			)

← All Hooks

Clone this wiki locally