About Razworks

Razworks is a company founded Michael Rassel in Sarasota, FL in  2002. Michael is an Internet  developer and rock musician, originally hailing from Minneapolis, MN. As a realtime 3D developer in New York City, Michael worked on web 3D projects for clients such as Sony, Nike, and IBM. Michael managed a team that won a…

Woocommerce Logged in Only

Restrict Woocommerce pages to logged in usesrs only: /****************** Logged in Only *************************/ function woo_loggedin_redirect() { if ( ! is_user_logged_in() && (is_woocommerce() || is_cart() || is_checkout()) ) { // feel free to customize the following line to suit your needs wp_redirect(home_url()); exit; } } add_action(‘woo-loggedin_redirect’, ‘woo_loggedin_redirect’);