gatherpressvenuemapcompositetimebudget

Filter the wall-clock budget (in seconds) for a single OSM
render() call. When the deadline is exceeded mid-loop, remaining
tiles are skipped and the gray background shows through.

Auto-generated Example

add_filter(
   'gatherpress_venue_map_composite_time_budget',
    function( GatherPressfloat $budget ) {
        // Your code here.
        return $budget;
    }
);

Parameters

  • GatherPressfloat $budget Default budget from COMPOSITE_TIME_BUDGET.

Files

apply_filters(
			'gatherpress_venue_map_composite_time_budget',
			self::COMPOSITE_TIME_BUDGET
		)

← All Hooks