Skip to content

atmosphere_backfill_limit

github-actions[bot] edited this page Jun 8, 2026 · 7 revisions

Filters the maximum number of posts to backfill.

Only the most recent unsynced posts (up to this limit) will be included in each backfill run. Use 0 or -1 to backfill all.

Auto-generated Example

/**
 * Filters the maximum number of posts to backfill.
 * 
 * Only the most recent unsynced posts (up to this limit) will
 * be included in each backfill run. Use 0 or -1 to backfill all.
 *
 * @param int $limit 
 * @return int The filtered value.
 */
function my_atmosphere_backfill_limit_callback( int $limit ) {
    // Your code here.
    return $limit;
}
add_filter( 'atmosphere_backfill_limit', 'my_atmosphere_backfill_limit_callback' );

Parameters

  • int $limit Maximum number of posts. Default 10.

Files

\apply_filters( 'atmosphere_backfill_limit', 10 )
\apply_filters( 'atmosphere_backfill_limit', 10 )

← All Hooks

Clone this wiki locally