Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php // don't include this line in your functions.php, since it already starts with it.
- function _send_user_password( $args = array() ) {
- $args['user_pass'] = wp_generate_password();
- return $args;
- }
- add_filter( 'si_create_user_args', '_send_user_password' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement