Fires when speculation rules data is loaded, allowing to amend the rules.
$speculation_rulesWP_Speculation_Ruleswp-includes/speculative-loading.php:229wp_get_speculation_rules() * Fires when speculation rules data is loaded, allowing to amend the rules. * * @since 6.8.0 * * @param WP_Speculation_Rules $speculation_rules Object representing the speculation rules to use. */ do_action( 'wp_load_speculation_rules', $speculation_rules ); return $speculation_rules;} /** * Prints the speculation rules.Introduced in 6.8.0. Unchanged from 6.8.8 through 7.1.0.
Signature, return type and hooks compared across 4 parsed releases.