class-cache-coordinator.php

Cache creation coordination seam for the plugin lifecycle.

Source includes/Cache/class-cache-coordinator.php1 min readPart of Performance Optimisation

includes/Cache/class-cache-coordinator.php

Cache creation coordination seam for the plugin lifecycle.

Namespace: PerformanceOptimise\\Inc · Lines: 56

Class Cache_Coordinator

Coordinate Cache construction and the public injection filter.

Source: includes/Cache/class-cache-coordinator.php, line 29

final class Cache_Coordinator

Tags: @since NEXT

publicstatic create()

public static function create(array $options, ?Image_Optimisation=null $image_optimisation, ?Google_Fonts=null $google_fonts)

Create a Cache collaborator and apply the injection filter.

ParameterTypeDefaultDescription
$optionsarray—Effective plugin options.
$image_optimisation?Image_Optimisation=null—Optional live image collaborator.
$google_fonts?Google_Fonts=null—Optional live font collaborator.

Return: mixed — Cache instance or filtered test/integration stub.

Tags: @since NEXT

Source: includes/Cache/class-cache-coordinator.php, line 40

Hooks

Hooks referenced in includes/Cache/class-cache-coordinator.php:

HookTypeLineNotes
wppo_cache_instancefilter53@param ×2