API / Minn\Runtime / EarlyFilters

EarlyFilters final class

Minn\Runtime\EarlyFilters · public/minn/src/Minn/Runtime/EarlyFilters.php · 20 lines

Filters that run before the runtime exists, over the hooks added that early: WP-CLI's add_wp_hook writes them into $wp_filter as plain arrays (tag => priority => id => function and accepted_args). The reference has its hook API by then; the engine reads the same arrays directly.

Public

staticapply(string $tag, mixed $value, mixed ...$args): mixed#

The value through every early callback on the tag, lowest priority first; as given when there are none.