File: wp-includes/speculative-loading.php
-
Returns the speculation rules configuration.
-
Filters the way that speculation rules are configured.
-
functionwp_get_speculation_rules()
Returns the full speculation rules data based on the configuration.
-
Filters the paths for which speculative loading should be disabled.
-
Fires when speculation rules data is loaded, allowing to amend the rules.
-
functionwp_print_speculation_rules()
Prints the speculation rules.