$origin, 'crossorigin' => true ); } if ( 'dns-prefetch' === $relation_type ) { if ( ! in_array( $origin, $urls, true ) ) { $urls[] = $origin; } } return $urls; } /** * Login screen doesn't render; output the preconnect directly. */ add_action( 'login_head', 'cfturnstile_login_preconnect', 1 ); function cfturnstile_login_preconnect() { if ( ! get_option( 'cfturnstile_preconnect', 0 ) ) { return; } echo '' . "\n"; }