$redirect['slug'], 'created_at' => gmdate( 'Y-m-d H:i:s' ), 'referrer_host' => Collector::referrer_host( $referrer ), 'country' => Geo::country(), 'device' => $device, 'browser' => $browser, 'os' => $os, ) ); } // 302 and no-store, so browsers and caches come back to us every time and each click is counted. nocache_headers(); header( 'X-Robots-Tag: noindex' ); // phpcs:ignore WordPress.Security.SafeRedirect.wp_redirect_wp_redirect -- Go links point to external sites on purpose. Only admins can set them. wp_redirect( $redirect['url'], 302, 'Footloom' ); exit; } }