ap_generate_avatar( integer|string $user_id )
Description #
Generate avatar.
Parameters #
- $user_idinteger | string (Required) User ID or name.
Source #
File: addons/avatar/avatar.php
function ap_generate_avatar( $user_id ) { $avatar = new Avatar\Generator( $user_id ); $avatar->generate(); return $avatar->fileurl(); }
Expand full source code Collapse full source code View on GitHub: addons/avatar/avatar.php:209
Add your comment