Generator::fileurl()
Description #
Return url to avatar.
Source #
File: addons/avatar/class-generator.php
public function fileurl() { $upload_dir = wp_upload_dir(); $avatar_dir = $upload_dir['baseurl'] . '/ap_avatars'; return $avatar_dir . '/' . $this->filename . '.jpg'; }
Expand full source code Collapse full source code View on GitHub: addons/avatar/class-generator.php:189
Add your comment