Created
January 26, 2023 21:08
-
-
Save wp-user-manager/69c45c3d67fb7bf4de5106441035b5c2 to your computer and use it in GitHub Desktop.
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
<?php | |
add_filter( 'wpum_get_registration_fields', function ( $fields ) { | |
if ( isset( $fields['privacy'] ) ) { | |
unset( $fields['privacy'] ); | |
} | |
return $fields; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment