WPDev.one
Core Function
View Source on Trac ↗

wp_get_speculation_rules_configuration()

wp_get_speculation_rules_configuration( )

Returns the speculation rules configuration.

Return Value

((array<string,)
(array<string, string> | null) Associative array with 'mode' and 'eagerness' keys, or null if speculative loading is disabled.

Function Information

Since Version
6.8.0
Source File
wp-includes/speculative-loading.php
Advertisement