Purpose

Switch the render-plan query pre-warmer from “the plan’s own queries plus extras” to all known queries. Useful for installs where warming everything is cheaper than cache misses on first interaction.

Usage

add_filter( 'wr_render_plan_prewarm_all_known_queries', '__return_true' );

Parameters

  • $include_all (bool): Default is the preloader’s configured value.
  • $plan_identifier (string): Identifier of the render plan being warmed.
  • $plan (RenderPlan): The full plan object.

See also wr_render_plan_prewarm_queries for warming a targeted list instead.