Skip to content

Instantly share code, notes, and snippets.

@luizbills
Last active March 26, 2024 15:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luizbills/25d2c83848de1fb23beceb0e407226ef to your computer and use it in GitHub Desktop.
Save luizbills/25d2c83848de1fb23beceb0e407226ef to your computer and use it in GitHub Desktop.
Change message of "WooCommerce Force Authentification Before Checkout" plugin
<?php
/*
english: put the below code in your functions.php
português: coloque o código abaixo no seu functions.php ou siga este guia: https://bit.ly/2Nn0SvD
*/
add_filter( 'wc_force_auth_message', function ( $message ) {
return 'your new message/sua nova mensagem';
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment