Advertisement
verygoodplugins

Untitled

Apr 13th, 2021
906
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. function remove_password( $user_meta, $user_id ) {
  2.    
  3.     if ( isset( $user_meta['user_pass'] ) ) {
  4.         unset( $user_meta['user_pass'] );
  5.     }
  6.  
  7.     return $user_meta;
  8.  
  9.  
  10. }
  11.  
  12. add_filter( 'wpf_pulled_user_meta', 'remove_password', 10, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement