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