Created
September 28, 2020 15:25
-
-
Save juniorthiesen/fc3996e7ae6837d105be8c1ab20f21f1 to your computer and use it in GitHub Desktop.
Hide ARG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Function Hide ARG | |
add_action( 'woocommerce_before_checkout_form', 'hide_arg' ); | |
function hide_arg() { | |
if ( ! is_user_logged_in() ) { | |
echo '<style type="text/css"> | |
.argmc-tabs-list, .argmc-nav, .argmc-form-steps-wrapper{ display: none !important; } | |
</style>'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment