check url parameter if not redirect wordpress
By Howard Moen at Oct 01 2020
WordPress/WooCommerce - Redirect add to cart button to the checkout page
By Harold Jones at Feb 14 2022
Wordpress - redirect if you\'re not logged in
By Jeremiah Walsh at Mar 29 2022