wp_speculation_rules_configuration
wp_speculation_rules_configuration
Appears in: wordpress-6.8, wordpress-6.8.1, wordpress-6.8.2, wordpress-6.8.3, wordpress-6.9, wordpress-6.9.1, wordpress-6.9.2, wordpress-6.9.3, wordpress-6.9.4
Hook Type: filter
Displaying hooks found in version: wordpress-6.9.4apply_filters('wp_speculation_rules_configuration') is found 1 times:
- /wp-includes/speculative-loading.php line 54
* for 'mode' are 'prefetch' and 'prerender'. Other possible values for * 'eagerness' are 'eager', 'moderate', and 'conservative'. The value * `null` is used to disable speculative loading entirely. */ $config = apply_filters( 'wp_speculation_rules_configuration', $config ); // Allow the value `null` to indicate that speculative loading is disabled. if ( null === $config ) { return null; }