Last active
October 21, 2022 19:08
-
-
Save everaldomatias/d8e084c985f9ba23cb71d0f82a63c0ea to your computer and use it in GitHub Desktop.
Add message on WooCommerce login form
This file contains 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
<?php | |
function custom_add_message_login_form() { | |
echo '<div class="form-login-message">'; | |
echo 'Ao fazer login, você concorda com os <a href="">termos de serviço</a> e <a href="">política de privacidade</a> da <a href="' . home_url() . '">Escola</a>'; | |
echo '</div>'; | |
} | |
add_action( 'woocommerce_login_form_end', 'custom_add_message_login_form', 99 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment