id ) ) { $is_purchasable = false; } return $is_purchasable; } add_filter( 'woocommerce_is_purchasable', 'stop_non_pmpro_members_from_buying_woo', 10, 2 );

Log In