. remove_action( 'wp_head', 'feed_links', 2 ); remove_action( 'wp_head', 'feed_links_extra', 3 ); } public static function redirect(): void { wp_safe_redirect( home_url( '/' ), 301 ); exit; } }