Created
September 15, 2021 10:37
-
-
Save wp-user-manager/65f31379d02c599420d38a8dafa9a0d2 to your computer and use it in GitHub Desktop.
WP User Manager - Alter the privacy checkbox text
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 | |
add_filter( 'wpum_privacy_text', 'wpum_change_message', 10, 3 ); | |
function wpum_change_message( $text, $privacy_url, $blogname ) { | |
return sprintf( __( 'I have read and accept the <a href="%1$s" target="_blank">privacy policy</a> and allow %2$s to collect and store the data I submit through this form.', 'wp-user-manager' ), $privacy_url, $blogname ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save this file to your /wp-content/mu-plugins/ directory (you might need to create the mu-plugins directory).