関数 username_exists()
2014/12/17
関数 username_exists()
定義ファイル :/blog/wp-includes/user.php 4
1 2 3 4 5 6 7 | function username_exists( $username ) { if ( $user = get_user_by('login', $username ) ) { return $user->ID; } else { return null; } } |
WEBシステム SI屋の代表のブログです。
2014/12/17
1 2 3 4 5 6 7 | function username_exists( $username ) { if ( $user = get_user_by('login', $username ) ) { return $user->ID; } else { return null; } } |