Core Function
View Source on Trac ↗ wp_get_speculation_rules()
wp_get_speculation_rules( ) Returns the full speculation rules data based on the configuration.
Return Value
((WP_Speculation_Rules)
(WP_Speculation_Rules | null) Object representing the speculation rules to use, or null if speculative loading
is disabled in the current context.
Function Information
Since Version
6.8.0
Source File
wp-includes/speculative-loading.php
Advertisement